This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

heapdump and javacore

 
Tom Henricksen
Author
Ranch Hand
Posts: 144
5
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are getting a lot of heapdump and javacore file from our Websphere 5.1 running on Windows XP. I am getting the files sent to me. I was going to use the Heap Analyzer from IBM and perhaps the H.A.T.(Heap Analyzer Tool from Sun). Any other suggestions of tools to use or ideas to troubleshoot?

Thanks,
Tom
 
William Janssen
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should probally first look at why it is dumping an generating javacore files. Watch the entries of the GC to see the memory behavior od the environment, e.g. memory leak, heap size too small or not enough native memory.
Starting with analyzing the heapdump is most of the times not useful.
 
Tom Henricksen
Author
Ranch Hand
Posts: 144
5
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where can you see the entries of GC to see memory behavior? Does it log stuff like that out to the standard log?
Thanks,
Tom
 
William Janssen
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After enabling it in the adminconsole either by appending the -verbose:gc option or the checkbox in the jvm process execution tab, the entries will be written into the native_stderr.txt.
 
Kurtcebe Eroglu
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also want to check

"IBM Pattern Modeling and Analysis Tool for Java Garbage Collector

A tool that parses verbose GC trace, analyzes Java heap usage, and recommends key configurations based on pattern modeling of Java heap usage."

at http://www.alphaworks.ibm.com/tech/pmat

I didn't use it myself yet but it is on my to do list...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic