Java Memory Analysis

Eclipse Memory Analyzer

Forums: Eclipse SDN Blogs: Eclipse Blog, Krum, Vedran

The Memory Analyzer is Open Source!

The Memory Analyzer is an Open Source Project at Eclipse (http://www.eclipse.org/mat/) licensed under the Eclipse Public License. Check out our blog, the WIKI and the forum. If you find a bug, please file it against Bugzilla.

While the open source version contains all the core features, the SAP Netweaver Extensions provide names for NetWeaver deployment units and information about caches, sessions, etc. The extensions are helpful if you analyze heap dumps from NetWeaver Java Server systems.

What does the Memory Analyzer do?

SAP Memory Analyzer is a fast and feature-rich heap analyzer that helps you easily find big chunks of memory and identify who is keeping these objects alive.

The Memory Analyzer was developed to analyze productive heap dumps with hundreds of millions of objects. Once the heap dump is parsed, you can re-open it instantly, immediately get the retained size of single objects and quickly approximate the retained size of a set of objects. The Analyzer is (relatively) low on resource consumption, so you can analyze multi-GB heap dumps on 32 bit boxes.

Read what our users have to say!

What heap dumps are supported?

SAP Memory Analyzer supports by default HPROF binary heap dumps, a de-facto standard of Sun supported also by other vendors:

Sun, SAP and HP JDK/JVM from version 1.4.2_12 and 5.0_7 and 6.0 upwards

Memory Analyzer can also work with system dumps and PHD dumps from various IBM platforms. For the purpose one has to install the DTFJ implementation into the Memory Analyzer. More details are available here http://wiki.eclipse.org/index.php/MemoryAnalyzer#System_Dumps_and_Heap_Dumps_from_IBM_Virtual_Machines. SAP Notes for the different IBM platfomrs are available on the "How can I get a heap dump" page.

Minimum-required versions are:

IBM JDK 1.4.2 SR12, 5.0 SR8a and 6.0 SR2. Read more here.

On what platforms does the SAP Memory Analyzer run?

The Memory Analyzer is available as a standalone tool (RCP application based on Eclipse 3.5) for all platforms that Eclipse 3.5 is available. The tool requires a 1.5 JDK. Alternatively one can install the Memory Analyzer features and plugins from an update site into an existing Eclipse IDE. In this form it is compatible with Eclipse 3.4 and higher releases. We greatly appreciate your feedback regarding platforms other than Windows as our scarce resources let us primarily target Windows.

How can I get a heap dump?

Please see here for details.

Memory Analyzer Forum

Got questions? Need advice? Miss a feature?
Eclipse Forum SDN Forum

Download

Download the Eclipse Memory Analyzer. Then add the SAP Netweaver Extensions. For IBM dumps read here .

Screencam

In this 10 minute screencam, Andreas leads a guided tour of the most important features.

Previous Talks

JavaOne 2008
Session: Automated Heap Dump Analysis for Developers, Testers, and Support Employees
EclipseCon 2008
download presentation slides
TechEd 2007
recording available for attendees and SAP employees 
JavaOne 2007
live recording and transcript from the technical session

Screenshots

Tutorial

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.