From: matz@... (Yukihiro Matsumoto) Date: 2004-06-09T09:21:27+09:00 Subject: Re: memory leak Hi, In message "Re: memory leak" on 04/06/09, Martin Pirker writes: |Does the Ruby gc |a) defragment memory and mem use always shrinks down to used | size after some gc iterations or |b) mem grows and if mem gets freed only in small pieces and never free | in large pieces only holes get filled by newer allocations Ruby uses conservative garbage collection that never do any type of page compaction. Ruby GC frees allocated heap pages only when all objects in the page are recycled. matz.