IBM Heapanalyzer is a free graphical analysis tool for the JVM memory heap, which can effectively enumerate the memory usage of the heap and help analyze the cause of the Java memory leak.
Download after decompression has a Ha413.jar
Operating Environment requirements:
1, using Java 2 Platform, JDK 1.6 or to run IBM Heapanalyzer
2. Then configure the environment variables
To Run the command:
<java Path>java–xmx[heapsize]–jar ha
For Example:
/usr/java60/bin/java–xmx1000m–jar Ha146.jar heapdump1234.txt
If there ' s java.lang.OutOfMemoryError while your are processing heapdumps, please try increasing the maximum heap size (-XM x) value to give the JVM is more memory.
Maximum Heap size should not is larger than the size of available physical memory size for this tool due to Performanc E issue.
the results of the execution are as shown in the figure:
specific use of the method please refer to the Ha423\readme under the readme.html, which is very detailed
Author: Bi Xiaobong Weibo: Http://weibo.com/00tester reprint Please specify the Source: Http://blog.csdn.net/alexbxp