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

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

Using JProfiler to monitor JAVA program memory, the JVM reports an error.

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007718b81a, pid=8540, tid=0x0000000000000fa4

JRE version: Java(TM) SE Runtime Environment (8.0_162-b12) (build 1.8.0_162-b12)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.162-b12 mixed mode windows-amd64 compressed oops)

Problematic frame:

V [jvm.dll+0x13b81a]

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

If you would like to submit a bug report, please visit:

http://bugreport.java.com/bugreport/crash.jsp

————— T H R E A D —————

Reason: Minidump is a small crash dump that can be written when a program crashes on Windows, which records summary information about the error that caused the crash so that developers can investigate the cause of the crash after the fact. hotSpot VM on non-server versions (also known as client versions) Windows chooses not to write out the minidump by default.

Solution: To make HotSpot VM write minidump on the client version of Windows, specify -XX:+CreateMinidumpOnCrash so that HotSpot VM will call the Windows MiniDumpWriteDump() function to write minidump.