How to disable minidump (mdmp) files generation with Java Hotspot JVM on Windows

后端 未结 1 814
隐瞒了意图╮
隐瞒了意图╮ 2021-02-07 10:41

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, n

相关标签:
1条回答
  • 2021-02-07 10:51

    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.

    0 讨论(0)
提交回复
热议问题