Eclipse Mat Analyzer Heap Dump

Use the memory analyzer to analyze productive heap dumps with hundreds of millions of objects quickly calculate the retained sizes of objects see who is preventing the garbage collector from collecting objects run a report to automatically extract leak.
Eclipse mat analyzer heap dump. Open the heap dump in eclipse memory analyzer using the option file open heap dump. Go to the file open file option in eclipse s menu bar browse to the dump file that was generated in the previous page and open it. Heap dump analysis using eclipse memory analyzer tool mat a heap dump is a snapshot of all the java objects that exist in the heap space. The stand alone memory analyzer is based on eclipse rcp.
This helps the developer to find memory leaks and high memory consumption issues. The eclipse memory analyzer is a fast and feature rich java heap analyzer that helps you find memory leaks and reduce memory consumption. Select the option leak suspects report and click finish. The heap dump file is usually stored with hprof extension.
The dump analysis will be presented to you as shown in the next page. The eclipse memory analyzer tool mat is a fast and feature rich heap dump analyzer that helps you find memory leaks and analyze high memory consumption issues. When you first acquire your heap dump the mat will show you an overview of the applications memory use. The snapshot mainly consists.
The eclipse memory analyser tooling mat is a set of plug ins for the eclipse ide which provides tools to analyze heap dumps from java application and to identify memory problems in the application. The memory analyzer chart feature is optional. First it will prompt you to create a leak suspect report. This api is used by the mat tool itself to offer the different end user features available in the tool.
With memory analyzer one can easily find the biggest objects as mat provides reasonable accumulated size retained size explore the object graph both inbound and outbound references. The chart feature requires the birt chart engine version 2 3 0 or greater. This make take a few minutes but the results will be persisted so subsequent loads will be quick. An overview of this api is available on this page.
Eclipse memory analyzer tool mat is by far the best tool to analyze java heap dumps. A heap dump is a snapshot of the heap memory of a java process at a given time. The user can create it or skip it. Let s see how to load the jvm dump file in eclipse s memory analyzer plugin.
It is useful if you do not want to install a full fledged ide on the system you are running the heap analysis.