Heap Dump Generate Are Not Readable With Eclipse MAT. Error " "Parser found 0 HPROF dumps... (Doc ID 1417676.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.4 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.

Symptoms

When troubleshooting heap memory size generating heap dumps with command jmap from java bin directory, the generated heap dumps are corrupted and can not be read by Eclipse MAT (third-party tool).
This inhibits troubleshooting of a container crash.

The troubleshooting pattern was to collect heap dumps getting closer to the crash.

Command used is
cmd>jmap dump:format=b,file=heap.hprof <PID>

where PID is the process ID of the container being examined

The error thrown by Eclipse MAT when opening the heap dump is
Failed to open

"Parser found 0 HPROF dumps in file nnnn.hprof. No heap dump index 0 found. See FAQ.2"

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms