## There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (mmap) failed to map 3133997056 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:2673), pid=9949, tid=140140058818304## JRE version: (8.0_51-b16) (build )# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode linux-amd64 compressed oops)# Core dump written. Default location: /export/Packages/sbpm/20210416214206/bin/core or core.9949 (max size 512000 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again#--------------- T H R E A D ---------------Current thread (0x00007f74e0009800): JavaThread "Unknown thread" [_thread_in_vm, id=9953, stack(0x00007f74e664b000,0x00007f74e66cc000)]Stack: [0x00007f74e664b000,0x00007f74e66cc000], sp=0x00007f74e66ca2f0, free space=508kNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
其实问题比较好解决,上一套google翻译
##内存不足,无法继续Java Runtime Environment。#本机内存分配(mmap)无法映射3133997056字节以提交保留的内存。#可能的原因:#系统的物理RAM或交换空间不足#在32位模式下,达到了进程大小限制# 可能的解决方案:#减少系统上的内存负载#增加物理内存或交换空间#检查交换后备存储是否已满#在64位操作系统上使用64位Java#减少Java堆大小(-Xmx / -Xms)#减少Java线程数#减少Java线程堆栈大小(-Xss)#使用-XX:ReservedCodeCacheSize =设置更大的代码缓存#此输出文件可能被截断或不完整。##内存不足错误(os_linux.cpp:2673),pid = 9949,tid = 140140058818304##JRE版本:(8.0_51-b16)(内部版本)#Java VM:Java HotSpot(TM)64位服务器VM(25.51-b03混合模式linux-amd64压缩的oops)#编写核心转储。默认位置:/ export / Packages / sbpm / 20210416214206 / bin / core或core.9949(最大大小为512000 kB)。为了确保完整的核心转储,请在再次启动Java之前尝试“ ulimit -c unlimited”# - - - - - - - - 线 - - - - - - - -当前线程(0x00007f74e0009800):JavaThread“未知线程” [_thread_in_vm,id = 9953,堆栈(0x00007f74e664b000,0x00007f74e66cc000)]堆栈:[0x00007f74e664b000,0x00007f74e66cc000],sp = 0x00007f74e66ca2f0,可用空间= 508k本机框架:(J =编译的Java代码,j =解释的,Vv = VM代码,C =本机代码)
把启动参数的内存参数降一下,给系统留足系统运行即可
网友评论