Skip to main content

alphaWorks  >  Forums  >  HeapAnalyzer  >  developerWorks

java.io.EOFException while running heap analyzer    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 8 - Pages: 1 - Last Post: Aug 26, 2009 7:23 AM Last Post By: Roy_Mitchley Threads: [ Previous | Next ]

Posts: 1
Registered: Oct 12, 2007 10:43:26 AM
java.io.EOFException while running heap analyzer
Posted: Oct 12, 2007 10:45:51 AM
Click to report abuse...   Click to reply to this thread Reply
I am getting the java.io.EOFException while running the heap analyzer to analyze the heap dump created by WebSphere 6. Itried with different heap files , different JVMs and different versions of the heap analyzer with the same error. I see couple of psimilar problems here but no solution is posted. Appreciate if any one was able to get past this error and post the solution.
kgross@de.ibm.com

Posts: 1
Registered: Jun 16, 2008 04:18:33 AM
Re: java.io.EOFException while running heap analyzer
Posted: Jun 16, 2008 04:21:39 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Hello...

is there any initial stage for a solution yet?
Mansoor

Posts: 8
Registered: May 11, 2005 05:26:25 AM
Re: java.io.EOFException while running heap analyzer
Posted: Jan 05, 2009 07:59:44 AM   in response to: kgross@de.ibm.com in response to: kgross@de.ibm.com's post
Click to report abuse...   Click to reply to this thread Reply
Hi ,

Any solution to this problem , would really apprecaite your valuable inputs on this .

Thanks
tuscany96

Posts: 1
Registered: Jan 19, 2009 06:56:16 PM
Re: java.io.EOFException while running heap analyzer
Posted: Jan 19, 2009 06:58:03 PM   in response to: Mansoor in response to: Mansoor's post
Click to report abuse...   Click to reply to this thread Reply
Did you try .txt heap formats? JVM option -Xdump:heap:opts=CLASSIC

See: http://www.ibm.com/developerworks/blogs/page/insidexd?tag=phd
ercano

Posts: 1
Registered: Jan 30, 2009 07:17:09 AM
Re: java.io.EOFException while running heap analyzer
Posted: Jan 30, 2009 07:19:30 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
as of previous posting, this work around only have to be applied to version lesser than SR7, but we have version SR8a and we get also this EOFException. Maybe its possible that this is a bug in HeapAnalyzer, not in phd writer of the VM?
noyk

Posts: 2
Registered: Apr 27, 2009 05:38:37 AM
Re: java.io.EOFException while running heap analyzer
Posted: Apr 27, 2009 05:44:21 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
I also ran in this problem:

Mon Apr 27 17:42:45 CST 2009 java.io.EOFException
at java.io.DataInputStream.readFully(Unknown Source)
at java.io.DataInputStream.readLong(Unknown Source)
at com.ibm.jinwoo.heap.PHDTask.skipRefs(PHDTask.java:2062)
at com.ibm.jinwoo.heap.PHDTask$ActualTask.processHeapDump(PHDTask.java:367)
at com.ibm.jinwoo.heap.PHDTask$ActualTask.<init>(PHDTask.java:1837)
at com.ibm.jinwoo.heap.PHDTask$1.construct(PHDTask.java:1948)
at com.ibm.jinwoo.heap.ThreadHandler$1.run(ThreadHandler.java:25)
at java.lang.Thread.run(Unknown Source)
stc-datria

Posts: 1
Registered: May 19, 2009 05:15:20 PM
Re: java.io.EOFException while running heap analyzer
Posted: May 19, 2009 05:16:03 PM   in response to: noyk in response to: noyk's post
Click to report abuse...   Click to reply to this thread Reply
Has anyone seen a solution to this issue?
Mansoor

Posts: 8
Registered: May 11, 2005 05:26:25 AM
Re: java.io.EOFException while running heap analyzer
Posted: Jul 12, 2009 04:13:17 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Hi ,

I had a chat with heap analyzer developer and got a local fix for this problem ...... jinwoo has fixed this in latest anlayzer ... I recommend you to download latest binaries and try .

With Thanks,
Mansoor
Roy_Mitchley

Posts: 3
Registered: Oct 19, 2005 05:44:25 PM
Re: java.io.EOFException while running heap analyzer
Posted: Aug 26, 2009 07:23:43 AM   in response to: Mansoor in response to: Mansoor's post
Click to report abuse...   Click to reply to this thread Reply
Hi I am getting the same problem using HeapAnalyzer 3.9.5

Wed Aug 26 13:19:05 CEST 2009 java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:204)
at java.io.DataInputStream.readInt(DataInputStream.java:380)
at com.ibm.jinwoo.heap.PHDTask.skipRefs(PHDTask.java:2061)
at com.ibm.jinwoo.heap.PHDTask$ActualTask.processHeapDump(PHDTask.java:401)
at com.ibm.jinwoo.heap.PHDTask$ActualTask.<init>(PHDTask.java:1838)
at com.ibm.jinwoo.heap.PHDTask$1.construct(PHDTask.java:1949)
at com.ibm.jinwoo.heap.ThreadHandler$1.run(ThreadHandler.java:25)
at java.lang.Thread.run(Thread.java:810)

I am trying to read a phd heapdump created by WAS CE 2.1 using J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20080816_22093 (JIT enabled, AOT enabled) J9VM - 20080816_022093_lHdSMr JIT - r9_20080721_1330ifx2 GC - 20080724_AA

Does HeapAnalyzer support Java 6 ?

Point your RSS reader here for a feed of the latest messages in all forums