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