码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2018-06-28 13:49:08      阅读:691      评论:0      收藏:0      [点我收藏+]

标签:mod   core dump   server   submit   crash   default   rtc   bee   java程序   

使用JProfiler监控JAVA程序内存,JVM报错:

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

原因:
Minidump是Windows上的程序crash的时候可以写出的一种小型crash dump,会记录导致crash的错误的摘要信息,以便开发者可以事后调查crash的原因。HotSpot VM在非server版的(也就是client版的)Windows上选择默认不写出minidump。

解决:
要让HotSpot VM在client版Windows上写出minidump,请指定 -XX:+CreateMinidumpOnCrash,这样HotSpot VM在crash时就会调用Windows的MiniDumpWriteDump()函数写出minidump。

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

标签:mod   core dump   server   submit   crash   default   rtc   bee   java程序   

原文地址:https://www.cnblogs.com/icewee/p/9237886.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!