Monday, December 06, 2010

2010-12-06 Monday - Java Heap Dump Analysis

Today I'm helping a Performance Testing Team do some research on a possible memory leak in a 3rd party application suite - and wanted to review some of the tools that might be of some assistance in my analysis.

This posting is a placeholder for my notes:



.PHD = Portable Heap Dump format
(started with Java SDK 1.4.2 SR1)


A tool for debugging memory leaks in Java applications through analysis of "heap dumps."










  





JavaOne 2009 - TS-4118 Practical Lessons in Memory Analysis
(site appears to be under maintenance)
"In order to analyze IBM system dumps with Memory Analyzer, one needs to install the DTFJ adapter into the Memory Analyzer. The DTFJ adapter as well as installation instructions are available here."



Using the IBM DTFJ with the Eclipse Memory Analyzer Tool
(not sure if this is still needed - or if Eclipse MAT has already incorporated this dependency)
"The Eclipse Memory Analyzer Tool (MAT) is an open-source Eclipse project for analyzing heap dumps and identifying memory leaks from Java virtual machines. The basic MAT installation only works with Sun HPROF binary dumps. Using the IBM Diagnostic Tool Framework for Java (DTFJ) enables MAT to work with system dumps and Portable Heap Dump (PHD) files from IBM Virtual Machines for Java version 6, version 5.0 and version 1.4.2."


IBM Monitoring and Diagnostic Tools for Java - Memory Analyzer Version 0.6 Tech Preview



IBM developer kits


IBM Monitoring and Diagnostic Tools for Java - Dump Analyzer Version 2.2



Eclipse Memory Analyzer – More Than Just a Heap Walker


architect and creator of the following technologies:
- IBM HeapAnalyzer
- IBM Pattern Modeling and Analysis Tool for Java Garbage Collector
- IBM Thread and Monitor Dump Analyzer for Java
- IBM Trace and Request Analyzer for WebSphere Application Server














































No comments: