How do I track down a memory leak in my Ruby code?
I did not find ruby-prof very useful when it came to locating memory leaks, because you need a patched Ruby interpreter. Tracking object allocation has become easier in Ruby 2.1. Maybe it is the best choice to explore this yourself. I recommend the blog post Ruby 2.1: objspace.so by tmml who is one of the … Read more