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

Petter Reinholdtsen pere at hungry.com
Wed Dec 22 10:53:39 WST 1999


[Buddrige, David]
> 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?

You might call it a garbage collector.  When a program exits, all
resources allocated by that program is reclaimed.  This releases file
descriptors, memory network connections etc.  This is common to all
unix like operating systems.
-- 
##>  Petter Reinholdtsen  <##  |  pere at td.org.uit.no


More information about the plug mailing list