jdk 报错

#

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

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000058d58936, pid=11100, tid=10864

#

JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)

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

Problematic frame:

V [jvm.dll+0x1e8936]

#

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

#

An error report file with more information is saved as:

D:\Tool\server\apache-tomcat-7.0.47\hs_err_pid11100.log

#

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

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

#

程序运行的时候突然报错。jdk1.7.0_51版本。
报错是在我调用接口的时候返回信息,然后突然就报错。第一次调用正常,第二次调用就报这个错误,请问是什么原因?

楼主可以看下是不是你的程序里设置了特殊的GC算法,或者其它的JVM参数
[quote]hs_err_pid11100.log [/quote]同时再查看下你这个crash文件里,具体是JVM执行到什么地方出的错,可以根据堆栈分析问题。
可以在启动时-server参数,看下是否可以解决。

1.大部分情况下无解,需要换JVM版本再测试。建议用 1.6,相对还稳定点
2.换个 32位cpu 环境试试看