From: Roger Pack Date: 2007-11-11T15:08:32+09:00 Subject: Re: enterprise ruby > A temporary 100-300MB spike isn't a problem, what is a problem is that : > 1/ the memory isn't freed after completion of the task, > 2/ it's kept dirty by the GC > ->there's no way the OS can reuse this memory for another spike > happening in another process, only the original process can reuse it. Ahh so you want the process to actually really free the memory after it is done with it (and GC doesn't do it because if heap 'chunks' have a least one ruby object stil live in them, they are re-used). Yeah you could maybe fix this by using fixed size heap 'chunks' (ruby's grow exponentially currently). Maybe an optimized ruby would be useful :) -- Posted via http://www.ruby-forum.com/.