It runs when Ruby runs out of memory or when it's manually invoked (by ObjectSpace.garbage_collect or GC.start). Bill On Sun, 9 Jan 2005 07:06:36 +0900, "EustáÒuio Rangel de Oliveira Jr." <eustaquiorangel / yahoo.com> 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? > > And, do you have some links about the the Ruby mark-and-sweep type of > garbage? > > Thanks! :-) > > - ---------------------------- > EustáÒuio "TaQ" Rangel > eustaquiorangel / yahoo.com > http://beam.to/taq > UsuáÓio GNU/Linux no. 224050 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFB4FmVb6UiZnhJiLsRAoigAJ9A8I2CmLJr9M0vw4FcUagNCsZ2lACdEWyF > jc4vN0V8OyfZzJIyaN5I6H0= > =jttK > -----END PGP SIGNATURE----- > > -- $stdout.sync = true "Just another Ruby hacker.".each_byte do |b| ('a'..'z').step do|c|print c+"\b";sleep 0.007 end;print b.chr end; print "\n"