You can do it manually, using Java JDK's jmap.exe
.
- You get the
PID
of your process. - Navigate to %JAVA_HOME%/bin/ (JDK)
- In the console (Command Prompt) type
jmap.exe -dump:format=b,file=C:\dump\dump.bin PID
- dump file is saved in the path you provide (in my example is
C:\dump\dump.bin
)
- dump file is saved in the path you provide (in my example is
Then you can use NetBeans IDE to analyze this dump. It has an inbuilt tools, just import the dump.bin
.