From: Robert Klemme Date: 2011-05-25T22:26:01+09:00 Subject: Re: Impossible to enforce garbage collection On Wed, May 25, 2011 at 1:11 PM, Robert Pankowecki wrote: > http://pastie.org/1970654 > > Can anyone tell me why the object created with finializer is not garbage > collected during GC.start executed in line 10 please ? There are no guarantees - neither about when GC will occur nor about which objects it will collect. AFAIK Ruby MRI's GC doesn't even bother to do something until your memory usage goes beyond a particular point. It's unlikely that you reach that point with your test. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/