Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a java heap dump from a windows memory dump

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.

like image 549
James World Avatar asked Jun 20 '12 14:06

James World


People also ask

How do I create a Java heap dump in Windows?

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.

How do I create a Java heap dump file?

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.

How do I make an automatic heap dump?

Click the Runtime tab. Select the Enable automatic heap dump collection check box. Click OK.


1 Answers

See my other answer covering exactly that, how to get Java information from Windows minidump

like image 134
Codeguard Avatar answered Sep 21 '22 16:09

Codeguard