Heapdump Javacore File Analysis tool

Source: Internet
Author: User

This must be written down to prepare for a rainy-Heapanalyzer: IBM

For more information see official website address: Http://www.alphaworks.ibm.com/tech/heapanalyzer

When a memory leak occurs in our application, a Heapdump file is generated with the file name similar to this: Heapdump.20081105.031129.172870.phd, or Heapdump. <yyyymmdd>.Java stack at the specified time, and is a mirrored file. The Heapanalyzer tool discovers objects that cause memory leaks or may cause memory leaks by analyzing heapdump files and which objects occupy too much stack space.

Memory Dump Diagnostic for Java (mdd4j)

is a tool in IBM Support Assistant (ISA) that can be downloaded in ISA. Its use is similar to Heapanalyzer, but it automatically lists "suspicious leak points" for analysis. is based on the analysis algorithm that looks for significant changes in the size of objects between the parent object and the child object. These parent objects that have changed significantly may be array-based container objects that contain a large number of growing child objects. ”

The above two tools basically support heap dump files generated by all versions of JDK.

IBM Thread and Monitor Dump Analyzer for Java

For more information see official website address: HTTP://WWW.ALPHAWORKS.IBM.COM/TECH/JCA

On some platforms, in some cases, Javacore is also known as Javadump, which contains information about the JVM and application-related diagnostics at specific times, such as operating systems , application environments, threads, native stack local heap, locks, and memory. When generating heapdump files, Javacore files are typically generated.

Operating System

Javacore file name

Format meaning

Windows and Linux

Javacore. YYYYMMDD. Hhmmss. PID.txt

YYYYMMDD =year Month Day, D=processid

Aix

JavacorePID.TIME.txt

Pid=processid, Time=seconds since1/1/1970

IBM thread and Monitor Dump Analyzer for Java can discover deadlocks by analyzing javacore files, possible hanging threads, resource competition, and so on. Do not know can analyze HP-UX produced Javacore file, expect, there is no corresponding javacore, so also can not study.

  Remember: javacore file is about CPU, Heapdump file is about memory

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.