Jan 11, 2019 MDMP files are commonly created along with an uncompressed.HDMP file and can be sent to Microsoft as part of a bug reporting process. More Information You can analyze an MDMP file in Microsoft Visual Studio by selecting File → Open Project, setting the 'Files of type' option to 'Dump Files,' choosing the MDMP file, clicking Open, then running the debugger. The.mdmp file is a Windows MiniDump file that you can only read with a debugger (like WinDbg). Typically you need the sources of the crashed application to really get some information out of the dump. So in your case you can't do much but contacting JRockit support. Here a link to the Orace JRockit information about JVM crahes.
I have java application that is crashing while in production. It doesn't do so in dev/QA. The jvm is creating a .mdmp file and a text file. How do I analyze the binary dump file? I googled but had no luck. We are using bea jrockit jvm 1.5 R27.
2 Answers
The .mdmp
file is a Windows MiniDump file that you can only read with a debugger (like WinDbg). Typically you need the sources of the crashed application to really get some information out of the dump. So in your case you can't do much but contacting JRockit support.
Here a link to the Orace JRockit information about JVM crahes.
If you want to look at the heap of the crashed process you can use a tool that ships with the JDK called jmap
to extract a HPROF file and then load this into a memory analyser. Note also that some memory analyzers can load core dumps and Windows minidumps directly.
Related issue and the jmap docs
If you want to see the state of the threads then you can use a tool called jstack
to print stack traces for every thread at the point the dump was created. jstack docs.
Not the answer you're looking for? Browse other questions tagged javadumpjrockit or ask your own question.
I have java application that is crashing while in production. It doesn't do so in dev/QA. The jvm is creating a .mdmp file and a text file. How do I analyze the binary dump file? I googled but had no luck. We are using bea jrockit jvm 1.5 R27.
2 Answers
![Mdmp File Viewer Mdmp File Viewer](https://developer.valvesoftware.com/w/images/5/53/Mdmp-modules.jpg)
The .mdmp
file is a Windows MiniDump file that you can only read with a debugger (like WinDbg). Typically you need the sources of the crashed application to really get some information out of the dump. So in your case you can't do much but contacting JRockit support.
Here a link to the Orace JRockit information about JVM crahes.
If you want to look at the heap of the crashed process you can use a tool that ships with the JDK called jmap
to extract a HPROF file and then load this into a memory analyser. Note also that some memory analyzers can load core dumps and Windows minidumps directly.
Related issue and the jmap docs
If you want to see the state of the threads then you can use a tool called jstack
to print stack traces for every thread at the point the dump was created. jstack docs.