Link to home
Create AccountLog in
Avatar of saji27
saji27

asked on

I get an error java.io.IOException: Bad record length of -2021068228 at byte 0x00da146e of file, when parsing a heap dump using HAT and jHAT

I am trying to analyse a 2 GB heap dump taken from java1.4 "IBM hotspot" running in solaris 8, but i get an error, java.io.IOException: Bad record length of -2021068228 at byte 0x00da146e. Is there any way that i can read this dump to analyse the objects.
Avatar of yuzh
yuzh

Avatar of saji27

ASKER

Hi Kindly check the link
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614052
This problem is identified as a bug.
java.io.IOException: Bad record length of -1452344221 at byte 0x337c4a 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)
But where can i find the latest patch. Fixed one
You can download the patchs from SunSolve:
http://sunsolve.sun.com/show.do?target=patches/patch-access

better to apply the:
J2SE Solaris 8 Recommended Patch Cluster

and
Solaris 8 Recommended Patch Cluster

it is time to patch up your system, please remember to reboot after apply the Patch Cluster
PS: you need an account to login to SunSolve.
Avatar of saji27

ASKER

Thanks.................... But i could not use it......  

I am getting ... below message when tried to view ..... dont know what service plan should i get to get the patch

You have selected content which is only available to registered SunSolve users with a valid Sun Service Plan.
A limited version of SunSolve support and the Sun System Handbook is available to all users.

Please Login to access the restricted content of SunSolve and the Sun System Handbook

if you are logged in to SunSolve and have received this message, please verify that you are associated with a valid support contract in the iSupport tool. If you have any questions about your support contract, please follow up with the Sun contract administrator contact at your company.

If, however, none of the previous conditions apply, you may be trying to access a document that is no longer available. In this case please feel free to click on the SunSolve Feedback link at the bottom of the page and be sure to include the exact steps you took before you received this error message.


ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of saji27

ASKER

Thanks ... But i am searching for one with sun support contract.