Parsing heap dump has encountered a problem [message #912824] |
Fri, 14 September 2012 08:56 |
Hack Kampbjørn Messages: 1 Registered: September 2012 |
Junior Member |
|
|
When parsing a heap dump, MAT fails with a "Parsing heap dump has encountered a problem:
Illegal record length 3,801,619,192 at byte 3,783,934,196 for record type 1
The dump was generated with jmap -F -dump:file= on a linux machine running
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
Here's the error from the MAT session
!SESSION 2012-09-14 10:41:14.655 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_31
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/hack/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/hack/.eclipse_keyring -showlocation
!ENTRY org.eclipse.mat.ui 1 0 2012-09-14 10:42:46.966
!MESSAGE Detected compressed references, because with uncompressed 64-bit references the array at 0x6e0275988 would overlap the array at 0x6e0275928
!ENTRY org.eclipse.mat.ui 2 0 2012-09-14 10:42:47.577
!MESSAGE Heap dump segment at 0x14a18ff size 54,856,185 ends at 0x48f2345 instead of 0x48f22f8
!ENTRY org.eclipse.mat.ui 2 0 2012-09-14 10:42:47.673
!MESSAGE (Possibly) Invalid HPROF file: Expected to read another 3,801,619,192 bytes, but only 587,522,564 bytes are available.
!ENTRY org.eclipse.mat.ui 4 0 2012-09-14 10:42:47.705
!MESSAGE Illegal record length 3,801,619,192 at byte 3,783,934,196 for record type 1
!STACK 0
org.eclipse.mat.SnapshotException: Illegal record length 3,801,619,192 at byte 3,783,934,196 for record type 1
at org.eclipse.mat.hprof.Pass1Parser.read(Pass1Parser.java:119)
at org.eclipse.mat.hprof.HprofIndexBuilder.fill(HprofIndexBuilder.java:65)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.parse(SnapshotFactoryImpl.java:209)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(SnapshotFactoryImpl.java:120)
at org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:145)
at org.eclipse.mat.ui.snapshot.ParseHeapDumpJob.run(ParseHeapDumpJob.java:83)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07021 seconds