RubyMass: Introspect the Ruby Heap by indexing, counting, locating references and releasing objects
RubyMass can help you tackle memory leaks as you can list (and count) which Ruby objects (Ruby mass :D) are in memory. Also, you can locate references to a certain object and remove them if wanted. Try out RubyMass and feel free to send in pull requests and/or suggestions. See more at the Github page of RubyMass.
Comments
Too much for the front page. So:
Ruby memory management Memory management is an important factor within every application. It can slow down the performance of your application and even of your system. Unlike other programming languages, such as C or Pascal, Ruby does not let you handle the memory allocation directly. The garbage collector (GC) controls releasing allocated memory. In order to let the GC free an object, you will have to ensure that there are no references to that object or else your memory usage will grow. Finding out why memory does not get released (memory leaks) is like finding a needle in a haystack.Post a comment