Cannot Open a Hprof Heap Dump Generated With "jrcmd" With Eclipse Memory Analyzer, Showing Error: "Parser found 0 HPROF dumps in file... "
Last updated on NOVEMBER 05, 2016
Applies to:Oracle JRockit - Version R28 to R28.2.0 [Release JRockit]
Information in this document applies to any platform.
On : R28 version, JVM and JDK
When trying to generate a heapdump with JRockit Command Line tool (jrcmd), it produces a very small hprof file. Sampling the liveset size vs Xms and Xmx value, the hprof file is not larger than 50% of current liveset.
When trying to open it with Eclipse MAT, the following error appears:
To obtain the heapdump, the following steps were followed:
- Determine what the PID for the managed server is ($ps -fea |grep weblogic)
- Set up an environment for WebLogic Server Domain ($ . ./setDomainEnv.sh)
- Collect a heap dump: $jrcmd hprofdump filename=heapdump.hprof
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