IBM
Heapanalyzer is a free graph analysis tool for JVM memory heap. It can effectively list heap memory usage and help analyze the causes of Java Memory leakage.
After downloading and decompressing the package, there is a ha413.jar
Running environment requirements:
1. UseJava 2 Platform, JDK
Run IBM heapanalyzer 1.6 or more
2. Configure the environment variables.
Run the following command:
<Java path> JAVA-xmx [heapsize]-jar ha
Example:
/Usr/java60/bin/Java-xmx1000m-jar ha146.jar heapdump1234.txt
If there's Java. Lang. outofmemoryerror while you are processing heapdumps, please try increasing the maximum heap size (-xmx) value to give the JVM more memory.
Maximum heap size shocould not be larger than the size of available physical memory size for this tool due to performance issue.
Execution result:
For more information, see readme.html under ha423 \ readme.
Author: Bi Xiaopeng
Weibo: http://weibo.com/00tester
Reprinted please indicate the source: http://blog.csdn.net/alexbxp