How to enable minidumps in Java for Windows

前端 未结 1 1001
粉色の甜心
粉色の甜心 2021-02-13 12:36

I keep getting and seeing this message

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

相关标签:
1条回答
  • 2021-02-13 13:01

    You will need the following JVM option:

    -XX:+CreateMinidumpOnCrash
    

    Then the minidump will be as large as the memory used by your JVM.

    • To interpret the minidump you can install the free Visual Studio C++ Express edition for your platform: http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx

    • You will also need the symbols for the DLLs that you are interested in. There is some information on using the Microsoft Symbol server here: http://support.microsoft.com/kb/311503

    • You would also need the symbol files for the JVM.

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