Showing posts with label dump. Show all posts
Showing posts with label dump. Show all posts

Dec 27, 2010

Websphere dump file analyaze

Download this file ha408.jar

Then run it using this command line for example:
"java -Xmx1200m -jar ha408.jar"

* The Xmx can be also 1024 or 512 it depends.

Than after the application is running, you can open the "*.phd" files from websphere to analyze.

Dor

Nov 23, 2010

get heap dump

get into command line.
use jmap tool which can be located within bin directory of your jdk installation directory.
you can run it alone and see all of its parameters or use this example:
"jmap -dump:format=b,file=heap.bin [pid]"
[pid] should be replaced with the appropriate process identifier (use task manager to get it).
Hopefully that helps a bit,
Dor

read heap dump

I suggest using eclipse MAT plug in, which can be found here.
After installing the plug in, use file->Open and open the heap.bin you have created (jmap for example).
It will take a while, depends on your computer hardware, but in the end, you would be able to analyaze this memory dump.
Hopefully it helps,
DOr