From: Mauricio Fernandez Date: 2006-08-21T00:25:52+09:00 Subject: Re: Ruby, memory and speed On Fri, Aug 18, 2006 at 09:50:08AM +0900, guillaume.marcais@gmail.com wrote: > > Mauricio Fernandez wrote: > > On Thu, Aug 17, 2006 at 10:54:04PM +0900, Guillaume Marcais wrote: > > > Does the performance of Ruby collapse past a certain memory usage? Like > > > the GC kicks in all the time. > > > > > > Any clue on how to speed this up? Any help appreciated. > > [...] > > > > Have you tried to increment GC_MALLOC_LIMIT in gc.c? > > No. Any hint on what value I can raised it to? Any upper limit that I > should not cross? You have so much RAM you could probably afford to set it to a few hundred MBs... If malloc_limit grows quickly enough it won't really make a difference, though. It'd be nice to know if it actually does in your case, for future reference. -- Mauricio Fernandez - http://eigenclass.org - singular Ruby