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,

No comments:

Post a Comment