How to analyze heap dump
In the same way tools are required for analyzing thread dumps, the same is important when analyzing heap dumps. By far the most useful and efficient analysis tool is the Eclipse Memory Analyzer. After downloading and installing it on your desktop, access the tool by choosing Open Heap Dump under the File Menu option. Once opened, the analyzing tool will then access a number of default reports open parsing the heap dump.
It will then highlight the memory distribution retained based on objects and show memory leaks in the form of a pie chart in the leak suspect report. This will only be in the case if the memory leak is induced by one or more objects. If this doesn’t occur, then the leak could be the result of a class ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access