Question

Currently I have a deployed executable jar file that creates large (7+ Gb) minidump files when it crashes. I would like to have a text representation of what caused the crash, not a binary file of the JVM state. I've tried using the information found in this CodeRanch post and the documentation that I've found in the Java documentation doesn't seem to help.

I also referenced this question but there's no definitive answer.

Is there a typical way this is done that I'm not aware of?

Was it helpful?

Solution

I found a command line option that seems to do what I want. Launching the jar with

java -XX:-CreateMinidumpOnCrash -jar myJar.jar

Seems to do the trick and will generate error logs that are very small compared to the minidumps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top