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)
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)