How to get a heap dump of a Java process on Windows that's not running in a console

Posted by macgreg on Stack Overflow See other posts from Stack Overflow or by macgreg
Published on 2009-01-02T18:17:31Z Indexed on 2010/06/15 4:22 UTC
Read the original article Hit count: 158

Filed under:
|
|

I have a Java application that I run from a console which in turn exec's another Java process. I want to get a thread/heap dump of that child process. On Unix I could do a "kill -3 " but on Windows AFAIK the only way to get a thread dump is Ctrl-Break in the console. But that only gives me the dump of the parent process, not the child. Is there another way to get that heap dump?

© Stack Overflow or respective owner

Related posts about java

Related posts about heap