Submitted On 16-JAN-2008
anipa
This doesn't seem to work for us at all:
>java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
>jhat -version
jhat version 2.0 (java version 1.6.0_03)
>jhat -J-d64 -J-Xmx6g snapshot.jmap
Reading from snapshot.jmap...
Dump file created Wed Jan 16 11:22:00 UTC 2008
java.io.IOException: Bad record length of -1627816209 at byte 0x3b62eb of file.
at com.sun.tools.hat.internal.parser.HprofReader.read(HprofReader.java:192)
at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:79)
at com.sun.tools.hat.Main.main(Main.java:143)
snapshot.jmap size is 2.48GB.
Submitted On 16-JAN-2008
anipa
Upgraded to 1.6.0_04 and it still will not open a file
larger than 2G. Opens a file with size of 1.4G just fine.
Submitted On 16-JAN-2008
anipa
I don't think this is an issue with jvm 32/64 bit size. This is
an issue with HprofReader.java using normal 32bit java
io functions.
Submitted On 04-FEB-2008
gcolpitts
I can't open a 1g heap:
ls -l /tmp/*.hprof
-rw-r--r-- 1 gcolpitt g680 10780873 Feb 4 12:00 /tmp/snapshot.hprof
jhat /tmp/*.hprof
Reading from /tmp/snapshot.hprof...
Dump file created Mon Feb 04 11:59:45 PST 2008
Snapshot read, resolving...
Resolving 249228 objects...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at com.sun.tools.hat.internal.model.JavaLazyReadObject.intAt(JavaLazyReadObject.java:136)
at com.sun.tools.hat.internal.model.JavaLazyReadObject.objectIdAt(JavaLazyReadObject.java:108)
at com.sun.tools.hat.internal.model.JavaObject.parseFields(JavaObject.java:257)
at com.sun.tools.hat.internal.model.JavaObject.resolve(JavaObject.java:76)
at com.sun.tools.hat.internal.model.Snapshot.resolve(Snapshot.java:257)
at com.sun.tools.hat.Main.main(Main.java:152)
ap615ses% java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)
ap615ses%
Submitted On 08-MAR-2008
If it is fixed where can i how can i get the latest patch of Jhat
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|