Re: [问题] hs_err_pid.log 分析

楼主: qrtt1 (有些事,有时候。。。)   2016-04-14 07:58:01
※ 引述《swallowcc (罹患重度能年病的燕叔)》之铭言:
: 各位前辈好 ._.
: 最近管理的一台 tomcat 8 常常会喷 hs_err_pid.log 出来...
: 不过看着 log 内容有种不晓得该怎么解析的无力感 orz
: 不晓得像这种 log 是否有专门的 analyzer 可以用?
: 还是有什么眉角,可以从中就直接分析原因?
: (或者是有教学文件什么的,让我自己啃也OK @@)
: 感谢 <(_ _)>
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 256901120 bytes for committing reserved memory.
# 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.cpp:2627), pid=4158, tid=139817230907136
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b17 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
#
反正主因就是内存不足吧!
作者: swallowcc (guest)   2016-04-14 08:17:00
感谢@@> 我完全忽略开头的#后面那些文字, 还以为那些是说明而已, 所以一直在爬中间那些看不懂的地方 orz
楼主: qrtt1 (有些事,有时候。。。)   2016-04-14 09:08:00
紧张的时候,常看漏看东西的所以,你得研究是内存真的不够,还是 memory leak 呗

Links booklink

Contact Us: admin [ a t ] ucptt.com