[plug] Does linux have a general garbage collector...

Beau Kuiper ekuiperba at cc.curtin.edu.au
Wed Dec 22 18:50:02 WST 1999


On Wed, 22 Dec 1999, you wrote:
> Hi all,
> 
> Was just wondering -- does Linux have a general garbage collector built into
> the kernel such that RAM that was leaked by a badly written C/C++ program
> eventually get's reclaimed despite the RAM not being delete'd in the program
> itself - or would it be lost forever?

No, but if you have swap, I imagine the pages of lost RAM will be eventually
swapped out permanatly to disk when the system needs the ram back.

Beau Kuiper
ekuiperba at cc.curtin.edu.au

> thanks
> 
> David Buddrige
> Software Engineer
> david.buddrige at mitswa.com.au


More information about the plug mailing list