From: Robert Klemme Date: 2012-01-11T01:19:58+09:00 Subject: Re: GC in MRI 1.9 and REE On Tue, Jan 10, 2012 at 4:51 PM, Alex Newone wrote: > The problem is that the MRI is not deallocating objects after the > reference is removed. > I'm not certain is it a bug or I misunderstood some GC concepts. I think it's in your understanding. :-)  Same strategy does not imply identical algorithm.  Even if both implementation use M&S they still might have different algorithms to detect liveness of objects.  It may actually make sense to be more conservative about liveness if the check is faster then.  That would result in less objects being collected. Bottom line is there are no guarantees as to when an object is collected.  It can long be unreachable before it is actually collected. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/