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]

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

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

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