web项目在tomcat下启动后内存一直增大到溢出停止,烦请大神解救!!!

逍遥狼崽 2015-05-10 06:19:39
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000003195e15, pid=2772, tid=2128
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# J 2180% C2 com.d8.club.web.sys.Listener$1.run()V (158 bytes) @ 0x0000000003195e15 [0x0000000003195b80+0x295]
#
# Core dump written. Default location: E:\tomcat\apache-tomcat-7.0.56\bin\hs_err_pid2772.mdmp
#
# 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 (0x000000000f39a800): JavaThread "Thread-2" daemon [_thread_in_Java, id=2128, stack(0x000000000f8e0000,0x000000000f9e0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000000000000000c

Registers:
RAX=0x0000000000000000, RBX=0x000000000f9df460, RCX=0x0000000030800001, RDX=0x000000000f9df3d8


Top of Stack: (sp=0x000000000f9df460)
0x000000000f9df460: 00000007f72db5a8 0000000003195910
0x000000000f9df470: 000000000f9df4e8 000000077bb5d180


Instructions: (pc=0x0000000003195e15)
0x0000000003195df5: d4 80 07 00 00 00 e8 7c 06 00 00 48 8b 54 24 40
0x0000000003195e05: 44 8b c0 66 66 90 e8 7b 06 00 00 48 89 44 24 48
0x0000000003195e15: 44 8b 58 0c 47 8b 5c dc 0c 45 8b c3 41 83 c0 32
0x0000000003195e25: 45 85 c0 0f 8c 67 03 00 00 41 81 f8 00 00 08 00


Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x000000000f9df460 is pointing into the stack for thread: 0x000000000f39a800
RCX=0x0000000030800001 is an unknown value
RDX=0x000000000f9df3d8 is pointing into the stack for thread: 0x000000000f39a800
RSP=0x000000000f9df460 is pointing into the stack for thread: 0x000000000f39a800
RBP=0x0000000780d461e8 is an oop
[C
- klass: {type array char}
- length: 50
RSI=0x00000000000003f2 is an unknown value
RDI=0x00000007f72de5a8 is an oop
java.util.Vector
- klass: 'java/util/Vector'
R8 =0x000000383dbab109 is an unknown value
R9 =0x00000007f72db4c0 is an oop
com.microsoft.jdbc.sqlserver.SQLServerConnection
- klass: 'com/microsoft/jdbc/sqlserver/SQLServerConnection'
R10=0x000000005414dfb0 is an unknown value


Stack: [0x000000000f8e0000,0x000000000f9e0000], sp=0x000000000f9df460, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 2180% C2 com.d8.club.web.sys.Listener$1.run()V (158 bytes) @ 0x0000000003195e15 [0x0000000003195b80+0x295]
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x1ce283]


--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x000000000e31b000 JavaThread "Keep-Alive-Timer" daemon [_thread_in_vm, id=2248, stack(0x0000000010b80000,0x0000000010c80000)]
0x000000000e31d800 JavaThread "http-bio-80-exec-15" daemon [_thread_blocked, id=2420, stack(0x000000000f7e0000,0x000000000f8e0000)]
0x000000000e323000 JavaThread "http-bio-80-exec-14" daemon [_thread_blocked, id=3128, stack(0x000000000f6e0000,0x000000000f7e0000)]
0x000000000e31c000 JavaThread "http-bio-80-exec-13" daemon [_thread_blocked, id=4940, stack(0x0000000010ed000
Other Threads:
0x000000000b286000 VMThread [stack: 0x000000000cf70000,0x000000000d070000] [id=4472]
0x000000000d2b8800 WatcherThread [stack: 0x000000000db70000,0x000000000dc70000] [id=2236]

VM state:synchronizing (normal execution)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000000000289c9f0] Safepoint_lock - owner thread: 0x000000000b286000
[0x000000000289cd70] Threads_lock - owner thread: 0x000000000b286000

Heap
PSYoungGen total 523776K, used 367534K [0x00000007d5500000, 0x00000007f9900000, 0x0000000800000000)
eden space 483328K, 74% used [0x00000007d5500000,0x00000007eb273908,0x00000007f2d00000)
from space 40448K, 23% used [0x00000007f7180000,0x00000007f7af80e0,0x00000007f9900000)
to space 55296K, 0% used [0x00000007f2d00000,0x00000007f2d00000,0x00000007f6300000)
ParOldGen total 699392K, used 56989K [0x0000000780000000, 0x00000007aab00000, 0x00000007d5500000)
object space 699392K, 8% used [0x0000000780000000,0x00000007837a7710,0x00000007aab00000)
PSPermGen total 30720K, used 30611K [0x000000077ae00000, 0x000000077cc00000, 0x0000000780000000)
object space 30720K, 99% used [0x000000077ae00000,0x000000077cbe4ee8,0x000000077cc00000)

Card table byte_map: [0x0000000005aa0000,0x0000000005ed0000] byte_map_base: 0x0000000001ec9000

Polling page: 0x0000000000d70000

Code Cache [0x0000000002aa0000, 0x00000000031a0000, 0x0000000005aa0000)
total_blobs=2430 nmethods=2076 adapters=305 free_code_cache=42078Kb largest_free_block=42997184

Compilation events (10 events):
Event: 2018.953 Thread 0x0000000002a9d800 2182 org.springframework.web.servlet.mvc.method.annotation.ServletRequestMethodArgumentResolver::resolveArgument (236 bytes)
Event: 2018.967 Thread 0x0000000002a9d800 nmethod 2182 0x0000000003194950 code [0x0000000003194b40, 0x00000000031951b0]


GC Heap History (10 events):
Event: 1186.410 GC heap before
{Heap before GC invocations=8 (full 0):
PSYoungGen total 605696K, used 605455K [0x00000007d5500000, 0x00000007fdd00000, 0x0000000800000000)
eden space 571392K, 100% used [0x00000007d5500000,0x00000007f8300000,0x00000007f8300000)
from space 34304K, 99% used [0x00000007fa500000,0x00000007fc643de0,0x00000007fc680000)
to space 23040K, 0% used [0x00000007fc680000,0x00000007fc680000,0x00000007fdd00000)
ParOldGen total 699392K, used 15432K [0x0000000780000000, 0x00000007aab00000, 0x00000007d5500000)
object space 699392K, 2% used [0x0000000780000000,0x0000000780f12388,0x00000007aab00000)
PSPermGen total 30720K, used 30562K [0x000000077ae00000, 0x000000077cc00000, 0x0000000780000000)
object space 30720K, 99% used [0x000000077ae00000,0x000000077cbd8850,0x000000077cc00000)

Deoptimization events (10 events):
Event: 620.799 Thread 0x000000000e319800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002debd88 method=java.lang.reflect.AccessibleObject.setAccessible0(Ljava/lang/reflect/AccessibleObject;Z)V @ 1
Event: 620.799 Thread 0x000000000e319800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002def140 method=java.lang.reflect.AccessibleObject.setAccessible0(Ljava/lang/reflect/AccessibleObject;Z)V @ 1
Event: 710.076 Thread 0x000000000f39a800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000002dbdfd4 method=com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Lcom/microsoft/jdbc/base/BaseWarnings;)V @ 73


Internal exceptions (10 events):
Event: 620.775 Thread 0x000000000e319800 Implicit null exception at 0x0000000002f8571a to 0x0000000002f858f6
Event: 620.779 Thread 0x000000000e319800 Threw 0x00000007e7d4da08 at C:\re\jdk7u67\1368\hotspot\src\share\vm\prims\jvm.cpp:1244


Events (10 events):
Event: 2103.478 Executing VM operation: RevokeBias



Dynamic libraries:
0x000007f6fd3c0000 - 0x000007f6fd3f3000 C:\Program Files\Java\jdk1.7.0_67\bin\java.exe
0x000007fd5ccf0000 - 0x000007fd5ceae000 C:\Windows\SYSTEM32\ntdll.dll
.....

VM Arguments:
jvm_args: -Xms1024m -Xmx2048m -Djava.util.logging.config.file=E:\tomcat\apache-tomcat-7.0.56\conf\logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=E:\tomcat\apache-tomcat-7.0.56\endorsed -Dcatalina.base=E:\tomcat\apache-tomcat-7.0.56 -Dcatalina.home=E:\tomcat\apache-tomcat-7.0.56 -Djava.io.tmpdir=E:\tomcat\apache-tomcat-7.0.56\temp
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_67
JRE_HOME=C:\Program Files\Java\jdk1.7.0_67
CLASSPATH=E:\tomcat\apache-tomcat-7.0.56\bin\bootstrap.jar;E:\tomcat\apache-tomcat-7.0.56\bin\tomcat-juli.jar
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ ;JAVA_HOME\bin;JAVA_HOME\jre\bin;ATALINA_HOME\lib;ATALINA_HOME\bin;
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 62 Stepping 4, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows Server 2012 , 64 bit Build 9200

CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 62 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, erms, tsc, tscinvbit

Memory: 4k page, physical 16742632k(11811756k free), swap 19101928k(14469016k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (24.65-b04) for windows-amd64 JRE (1.7.0_67-b01), built on Jul 25 2014 08:55:00 by "java_re" with unknown MS VC++:1600

time: Sun May 10 17:26:54 2015
elapsed time: 2117 seconds
...全文
935 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
minghzhang 2015-05-11
  • 打赏
  • 举报
回复
从GC日志看,因为是持久代permgen过小,PSPermGen total 30720K, used 30562K ,只有30M,你只设置了堆空间的大小,并没有设置持久代的大小,可以试试加大持久代: -XX:PermSize=256M -XX:MaxPermSize=512M
逍遥狼崽 2015-05-10
  • 打赏
  • 举报
回复
烦请大神解救

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧