Re:"Profilers don't help you find memory leaks, they just ma...
by bunderbunder on Tuesday January 03, 2012 @11:15AM
(#3420094)
Couldn't agree more. In a garbage collected language, object retention graphs and call stacks are everything when it comes to object lifetime. The garbage collector looks at them to figure out when it's time to clean up an object, so you need to be looking at them if you want to figure out why the GC isn't cleaning up that object.
If those features aren't being used then there's a good chance that the problem is in the chair, not in the profiler.
Last month we used VisualVM to get rid of the OutOfMemory errors and to decrease the run time of an application from >110 hours to 40 hours. We found that a big 3rd party library was keeping some kind of undocumented "undo history" of every action, that could not be flushed.