java程序运行一段时间就出这个问题。。。。
生成一个这样的文件 hs_err_pid4360.log 。。。
给出这个文件的开始和结束的内容
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dadc031, pid=4360, tid=2808
#
# JRE version: 7.0_05-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.1-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0xc031]
#
# 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.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x000000000da6d000): JavaThread "Thread-0" [_thread_in_vm, id=2808, stack(0x000000000dbd0000,0x000000000dcd0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000ffffffff
Registers:
RAX=0x0000000000000010, RBX=0x000000000bb45101, RCX=0x00000000efa474d1, RDX=0x000000000000ea50
RSP=0x000000000dccd508, RBP=0x000000000bb45470, RSI=0x0000000000000000, RDI=0x000000000bb45450
R8 =0x000000007d1c5320, R9 =0x000000000000ea50, R10=0x000000000000000b, R11=0x000000000bb45108
R12=0x000000000bb45828, R13=0x000000000d7b9670, R14=0x000000007d1c5568, R15=0x000000000bb45440
RIP=0x000000006dadc031, EFLAGS=0x0000000000010286
0x0000000077640000 - 0x0000000077647000 C:\Windows\system32\PSAPI.DLL
0x0000000074470000 - 0x000000007447f000 C:\Program Files\Java\jre7\bin\verify.dll
0x0000000074170000 - 0x0000000074198000 C:\Program Files\Java\jre7\bin\java.dll
0x0000000074150000 - 0x0000000074165000 C:\Program Files\Java\jre7\bin\zip.dll
0x0000000074130000 - 0x0000000074149000 C:\Program Files\Java\jre7\bin\net.dll
0x00000000fcc00000 - 0x00000000fcc55000 C:\Windows\system32\mswsock.dll
0x00000000fcbf0000 - 0x00000000fcbf7000 C:\Windows\System32\wship6.dll
0x0000000074110000 - 0x0000000074121000 C:\Program Files\Java\jre7\bin\nio.dll
0x00000000fc5e0000 - 0x00000000fc5e7000 C:\Windows\System32\wshtcpip.dll
0x00000000fca80000 - 0x00000000fcadb000 C:\Windows\system32\DNSAPI.dll
0x00000000fb070000 - 0x00000000fb097000 C:\Windows\system32\IPHLPAPI.DLL
0x00000000fb050000 - 0x00000000fb05b000 C:\Windows\system32\WINNSI.DLL
0x00000000f60b0000 - 0x00000000f60b8000 C:\Windows\system32\rasadhlp.dll
0x00000000fae60000 - 0x00000000faeb3000 C:\Windows\System32\fwpuclnt.dll
0x00000000fb3a0000 - 0x00000000fb3b5000 C:\Windows\system32\NLAapi.dll
0x00000000f5fb0000 - 0x00000000f5fc5000 C:\Windows\system32\napinsp.dll
0x00000000f5f90000 - 0x00000000f5fa9000 C:\Windows\system32\pnrpnsp.dll
0x00000000f5f80000 - 0x00000000f5f8b000 C:\Windows\System32\winrnr.dll
0x00000000f24e0000 - 0x00000000f2605000 C:\Windows\system32\dbghelp.dll
VM Arguments:
java_command: ems_dwdataoriginal.jar
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_05
CLASSPATH=.;JAVA_HOME\lib\tools.jar;JAVA_HOME\lib\dt.jar
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Java\jdk1.7.0_05\bin;D:\develop\apache-tomcat-6.0.32\bin;C:\Program Files (x86)\Windows7Master;C:\Program Files\TortoiseSVN\bin
USERNAME=mengluv5
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
...................
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, tsc, tscinvbit
Memory: 4k page, physical 8303736k(6744308k free), swap 16605620k(14819404k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (23.1-b03) for windows-amd64 JRE (1.7.0_05-b06), built on Jun 27 2012 00:54:58 by "java_re" with unknown MS VC++:1600
time: Thu Aug 16 13:54:50 2012
elapsed time: 1 seconds
[解决办法]
大部分情况下无解,需要换JVM版本再测试。建议用 1.6,相对还稳定点。
[解决办法]
低调点吧。。先别那么快用1.7。
或者换个inter 32位cpu 环境试试看?
[解决办法]
java虚拟机崩溃了吧!重新安装一下JDK并配置环境变量吧。