From: Roger Pack Date: 2008-10-08T09:27:15+09:00 Subject: Re: help tracking memory leaks > I have a ruby script that uses a lot of memory, dumping ObjectSpace > shows that indeed a lot of object exist that shouldn't. However, I can't > tell why. I don't know the root object that causes the chain of > references that marks them as used. What tool can help here? (I think > ruby-prof and bleakhouse are no good since they only show objects that > are not garbage collected, not why they are not collected) Saw this recently: http://www.ruby-forum.com/topic/167320#new "GC.reachability_paths" old but about the only thing out there for MRI. You could also try running your code on JRuby and see if it works [different GC] -=R -- Posted via http://www.ruby-forum.com/.