From: Charles Mills Date: 2005-01-09T07:26:24+09:00 Subject: Re: Garbage collector Eust�quio Rangel de Oliveira Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > Hey, how often the garbage collector runs? > When all the memory becomes full? > Or there is a pre-defined interval? > It basically runs when a certain amount of memory is used - see malloc_increase and malloc_limit in gc.c. Also, if malloc() fails or attempts to open a file fail do to memory limitations the gc will be run. > And, do you have some links about the the Ruby mark-and-sweep type of > garbage? > http://www.rubygarden.org/ruby?GCAndMemoryManagement http://www.rubygarden.org/ruby?GCAndExtensions -Charlie