Re:"Profilers don't help you find memory leaks, they just ma...
by Nikem on Tuesday January 03, 2012 @09:06AM
(#3419647)
Profilers will not show you any back references. Memory dump analyzers will do. The point of that blog post was to show that profiler alone will not help you. You need that memory dump and back references and dominators etc.
Re:"Profilers don't help you find memory leaks, they just ma...
by bunderbunder on Tuesday January 03, 2012 @11:24AM
(#3420134)
Any halfway decent memory profiler analyzes memory dumps and shows back references.
A quick look at their websites confirms that all three of the profilers mentioned in the article do.
From experience in other languages, profilers are perfectly capable of pointing the source of leaks. It's what they're for. They can do so by displaying a weighted object graph (drilling from byte[], in this example, using back references), and by taking stack snapshots of some percentage of allocations.