JVM致命错误日志(hs_err_pid.log)分析
JVM致命错误日志(hs_err_pid.log)分析_扰扰1994的博客-CSDN博客
在java语言里, 当你创建一个线程的时候,虚拟机会在JVM内存创建一个Thread对象同一时候创建一个操作系统线程,而这个系统线程的内存用的不是JVMMemory,而是系统中剩下
的内存(MaxProcessMemory - JVMMemory - ReservedOsMemory)。
解决 - java.lang.OutOfMemoryError: unable to create new native thread - hrhguanli - 博客园 (cnblogs.com)
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 314416 bytes for Chunk::new
# 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.