Hello Group - I am using the Sun's Heap Analysis Tool ( HAT ) to analyse the memory leaks in our Appserver.
I enabled Hprof option while the server starts up and it created a binary file java.hprof.jamil.
But when i try to use the HAT using this file, i am getting this following error:
Started HTTP server on port 7000
Reading from /apps/websphere/AppServer/java.hprof.jamil...
Dump file created Fri May 14 15:46:46 EDT 2004
java.io.EOFException
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(IOException.java:28)
at java.io.EOFException.<init>(EOFException.java:36)
at java.io.DataInputStream.readUnsignedByte(Compiled Code)
at hat.parser.HprofReader.skipBytes(Compiled Code)
at hat.parser.HprofReader.read(Compiled Code)
at hat.parser.Reader.readFile(Reader.java:91)
at hat.Main.main(Compiled Code)
Have anyone encountered this error. Looks like there seems to be problem in the format of the file created.
Any help is appreciated.
Thanks in Advance.
-
Heap Analysis Tool - Error (2 messages)
- Posted by: Jamil Khan
- Posted on: May 17 2004 11:21 EDT
Threaded Messages (2)
- Heap Analysis Tool - Error by Bhagvan K on May 19 2004 21:25 EDT
- EOFException while reading binary file by Sheenu Jain on January 19 2009 07:58 EST
-
Heap Analysis Tool - Error[ Go to top ]
- Posted by: Bhagvan K
- Posted on: May 19 2004 21:25 EDT
- in response to Jamil Khan
hi,
This may be the problem in the creation of a binary file.
Check out this article (which has source code of HAT to help you debug the problem )
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/perf3.html
Bhagvan K
http://www.architectcorner.com -
EOFException while reading binary file[ Go to top ]
- Posted by: Sheenu Jain
- Posted on: January 19 2009 07:58 EST
- in response to Bhagvan K
I am also getting the same issue, have you resolved this, if yes, please help. Thanks in advance