Created
March 24, 2014 12:26
-
-
Save laszlomiklosik/9739183 to your computer and use it in GitHub Desktop.
Create heap dump on the fly using jmap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# jmap is in $JAVA_HOME/bin/ (assumed in your path, but you can use the complete path if it's not) | |
jmap -dump:format=b,file=heap_dump.hprof <process ID> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment