Eggache 2015-06-29 07:02 采纳率: 0%
浏览 3483

jvm每隔一个小时就会报错,打印hs_err_pid*.log

在阿里云服务器上安装jdk7+tomcat7环境,启动tomcat,不发布任何应用,jvm也会不停出错
每隔一个小时就生成一个hs_err_pid*.log

系统版本:
Linux iZ23usxuuqdZ 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

jdk版本
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

hs_err_pid*.log内容如下:

#

There is insufficient memory for the Java Runtime Environment to continue.

pthread_getattr_np

Possible reasons:

The system is out of physical RAM or swap space

In 32 bit mode, the process size limit was hit

Possible solutions:

Reduce memory load on the system

Increase physical memory or swap space

Check if swap backing store is full

Use 64 bit Java on a 64 bit OS

Decrease Java heap size (-Xmx/-Xms)

Decrease number of Java threads

Decrease Java thread stack sizes (-Xss)

Set larger code cache with -XX:ReservedCodeCacheSize=

This output file may be truncated or incomplete.

#

Out of Memory Error (os_linux_x86.cpp:718), pid=19247, tid=140316616615680

#

JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15)

Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops)

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

--------------- T H R E A D ---------------

Current thread (0x00007f9e1808c800): JavaThread "Service Thread" daemon [_thread_new, id=19255, stack(0x0000000000000000,0x0000000000000000)]

Stack: [0x0000000000000000,0x0000000000000000], sp=0x00007f9e0216d980, free space=137027945910k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x9a32da]
V [libjvm.so+0x497f7b]
V [libjvm.so+0x825aea]
V [libjvm.so+0x825b35]
V [libjvm.so+0x955994]
V [libjvm.so+0x95c154]
V [libjvm.so+0x821ca8]

图片说明
图片说明
图片说明
图片说明
图片说明
图片说明
图片说明
图片说明

  • 写回答

1条回答 默认 最新

  • JPF1024 2015-06-29 07:25
    关注

    看起来是内存不够了。要不加内存,要不设置定时重启tomcat(不推荐).

    Out of Memory Error (os_linux_x86.cpp:718), pid=19247, tid=140316616615680

    评论

报告相同问题?

悬赏问题

  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条