OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f4a6c2b2000, 12288, 0) failed; error='Cannot allocate memory' (errno=12)
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 12288 bytes for committing reserved memory.
OpenJDK 64-Bit Server VM warning: 2022-07-02 15:14:40.025 INFO 12316 --- [duler_Worker-32] c.a.c.b.scheduler.AgentPingScheduleJob : [AgentPingScheduleJob] page:1, totalPage: 1, total: 3
An error report file with more information is saved as:
/app/chaosblade/hs_err_pid12316.log
Attempt to protect stack guard pages failed.
OpenJDK 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.
hs_err_pid12316.log内容
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 12288 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:2651), pid=12316, tid=0x00007f4a6c3b2700
JRE version: OpenJDK Runtime Environment (8.0_161-b14) (build 1.8.0_161-b14)
Java VM: OpenJDK 64-Bit Server VM (25.161-b14 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
运行chaos-box,出现内存问题 version:1.0.1
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f4a6c2b2000, 12288, 0) failed; error='Cannot allocate memory' (errno=12)
There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (mmap) failed to map 12288 bytes for committing reserved memory. OpenJDK 64-Bit Server VM warning: 2022-07-02 15:14:40.025 INFO 12316 --- [duler_Worker-32] c.a.c.b.scheduler.AgentPingScheduleJob : [AgentPingScheduleJob] page:1, totalPage: 1, total: 3 An error report file with more information is saved as: /app/chaosblade/hs_err_pid12316.log Attempt to protect stack guard pages failed. OpenJDK 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.
hs_err_pid12316.log内容
There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (mmap) failed to map 12288 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:2651), pid=12316, tid=0x00007f4a6c3b2700 JRE version: OpenJDK Runtime Environment (8.0_161-b14) (build 1.8.0_161-b14) Java VM: OpenJDK 64-Bit Server VM (25.161-b14 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
jvm添加的参数
-Xms1024m -Xmx4096m -Xss256k -XX:PermSize=128m -XX:MaxPermSize=512m -XX:SurvivorRatio=8 -XX:NewRatio=4 -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails -XX:+PrintGCTimeStamps