Analysis of Java heap dump tools

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.