tomcat 运行一段时间后报错 compacting perm gen

来源:互联网 发布:上海软件外包公司 编辑:程序博客网 时间:2024/05/16 05:34

#

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f490d1afa44, pid=3263, tid=139951023961856
#
# JRE version: OpenJDK Runtime Environment (7.0_55-b13) (build 1.7.0_55-mockbuild_2014_04_16_12_11-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J  java.lang.String.getBytes(Ljava/lang/String;)[B
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/jvm-3263/hs_error.log
AHE@0x00007f4910067440: 0xbb000000 i2c: 0x00007f490d0385a0 c2i: 0x00007f490d0385f1 c2iUV: 0x00007f490d0385c8
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla

#


/tmp/jvm-3263/hs_error.log

Heap
 def new generation   total 78656K, used 1980K [0x00000000e5a00000, 0x00000000eaf50000, 0x00000000eaf50000)
  eden space 69952K,   2% used [0x00000000e5a00000, 0x00000000e5bef270, 0x00000000e9e50000)
  from space 8704K,   0% used [0x00000000e9e50000, 0x00000000e9e50000, 0x00000000ea6d0000)
  to   space 8704K,   0% used [0x00000000ea6d0000, 0x00000000ea6d0000, 0x00000000eaf50000)
 tenured generation   total 174784K, used 118735K [0x00000000eaf50000, 0x00000000f5a00000, 0x00000000f5a00000)
   the space 174784K,  67% used [0x00000000eaf50000, 0x00000000f2343f88, 0x00000000f2344000, 0x00000000f5a00000)
 compacting perm gen  total 89408K, used 89092K [0x00000000f5a00000, 0x00000000fb150000, 0x0000000100000000)
   the space 89408K,  99% used [0x00000000f5a00000, 0x00000000fb101010, 0x00000000fb101200, 0x00000000fb150000)
No shared spaces configured.

解决方案:JAVA_OPTS="-Xms250m -Xmx600m -Xss5024K -XX:PermSize=200m -XX:MaxPermSize=300m"

加大-XX:PermSize 大小


0 0
原创粉丝点击