Summary
IBM HeapAnalyzer is a graphical tool for discovering possible Java heap leaks.
Steps
Download: https://public.dhe.ibm.com/software/websphere/appserv/support/tools/HeapAnalyzer/ha457.jar
Open a terminal or command prompt and change directory to where you downloaded the JAR file.
Ensure that Java is on your PATH to run the tool.
Launch the tool (increase -Xmx based on your available RAM):
java -Xmx2g -jar ha*.jar
Note: IBM HeapAnalyzer has no new development and therefore, in general, we recommend using the Eclipse Memory Analyzer Tool (MAT) with IBM DTFJ Extension instead which is open source and has active development, a similar feature set (finding large dominators, leak suspects, etc.), and the IBM Extensions for Memory Analyzer with product-specific analysis engines.
1