Skip to main content

alphaWorks  >  Forums  >  HeapAnalyzer  >  developerWorks

Problem starting heap analyizer    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 2 - Pages: 1 - Last Post: Oct 29, 2009 1:30 PM Last Post By: Gullapalli Threads: [ Previous | Next ]
fozzy

Posts: 1
Registered: Sep 17, 2009 11:47:06 AM
Problem starting heap analyizer
Posted: Sep 17, 2009 11:47:59 AM
 
Click to report abuse...   Click to reply to this thread Reply
I get this error when trying to launch heap analyizer. I tried uping the -Xmx but didn't seem to help.

Exception in thread "Thread-4" java.lang.OutOfMemoryError: Java heap space
at com.ibm.jinwoo.heap.HeapInfo.allocateAddress(HeapInfo.java:689)
at com.ibm.jinwoo.heap.PHDTask$ActualTask.processHeapDump(PHDTask.java:550)
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(Unknown Source)
Gullapalli

Posts: 2
Registered: Oct 28, 2009 06:17:00 PM
Re: Problem starting heap analyizer
Posted: Oct 28, 2009 06:18:16 PM   in response to: fozzy in response to: fozzy's post
 
Click to report abuse...   Click to reply to this thread Reply
I am also getting same meesage when I try to open HeapAnalyzer396. and if I try to open a PHD file, it hangs after 15%. Did you happen to get any solution? otherwise experts, pls. advise..
Gullapalli

Posts: 2
Registered: Oct 28, 2009 06:17:00 PM
Re: Problem starting heap analyizer
Posted: Oct 29, 2009 01:30:26 PM   in response to: Gullapalli in response to: Gullapalli's post
 
Click to report abuse...   Click to reply to this thread Reply
I am able to solve this issue by changing JAVA_HOME environment variable on my machine to point to my current JRE installed location and by running below command, by which I allowed it to use 512MB for the heap.

C:\Program Files\Java\jre1.6.0_06\bin> java -Xmx512m -jar C:\ha396\ha396.jar

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