I have a windows memory dump (DMP) file of a JVM process.
Is there any way I can use Java tooling to do a heap analysis of this? The SDK tools (jhat etc.) don't seem to help - they all seem to expect a Java heap dump.
(I've plenty of Windbg experience, but I am a complete ignoramus when it comes to Java debugging)
This similar question: Dump file analysis of Java process? has no answer on this point.
Start administrative console. In the navigation pane, click Troubleshooting > Java dumps and cores. Select the server_name for which you want to generate the heap dump. Click Heap dump to generate the heap dump for your specified server.
Let us discuss how to generate JVM Heap Dump which is as follows: Using jmap command. Using jcmd command on terminal. Using the JVisualVM tool.
Click the Runtime tab. Select the Enable automatic heap dump collection check box. Click OK.
See my other answer covering exactly that, how to get Java information from Windows minidump
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With