Hi, As I understand, the GC of Ruby can take only max. 8 meg of memory. So I wonder if there is some reason behide this or it is simply a hardecode feature???? and if I want to increase the memeory, how should I do this??? Thanks you very much!!!! Saiho The mind is its own place, and in itself. Can make a Heaven of Hell, a Hell of Heaven. http://www.geocities.com/sayoyo/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Matthew Beale
2006-Apr-03 15:31 UTC
[Rails] Re: why ruby GC can take only 8 meg of memory????
Saiho sayoyo wrote:> Hi, > > As I understand, the GC of Ruby can take only max. 8 > meg of memory. So I wonder if there is some reason > behide this or it is simply a hardecode feature???? > and if I want to increase the memeory, how should I do > this???I think you''re a little confused...Ruby allots 8meg to itself to start with, moving above 8meg triggers garbage collection. If the code needs more then 8meg after GC, ruby allocates more memory. I''d suggest poking at: http://whytheluckystiff.net/articles/theFullyUpturnedBin.html Which is why''s article on ruby''s memory use and GC. Good luck! -- Matthew Beale :: mixonic@synitech.com Resume & Portfolio @ http://madhatted.com -- Posted via http://www.ruby-forum.com/.