aspose file tools*
The moose likes Websphere and the fly likes heapdump and javacore Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "heapdump and javacore" Watch "heapdump and javacore" New topic
Author

heapdump and javacore

Tom Henricksen
Ranch Hand

Joined: Mar 23, 2004
Posts: 136

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

Joined: Jan 02, 2007
Posts: 39
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
Ranch Hand

Joined: Mar 23, 2004
Posts: 136

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

Joined: Jan 02, 2007
Posts: 39
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

Joined: Jan 30, 2007
Posts: 30
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: heapdump and javacore