I’m running 20 test suites in parallel using Test Collection.
All sessions invoke successfully; however, 4-5 chrome sessions stop working & Runtime Engine keeps running indefinitely.
I get error log files generated in my project folder. 1 file for each session that fails.
Error log file contains following details.
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (malloc) failed to allocate 173136 bytes for Chunk::new
The system is out of physical RAM or swap space
In 32 bit mode, the process size limit was hit
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 (allocation.cpp:390), pid=14856, tid=0x00000000000027cc
JRE version: Java™ SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
Java VM: Java HotSpot™ 64-Bit Server VM (25.181-b13 mixed mode windows-amd64 compressed oops)
Failed to write core dump.
--------------- T H R E A D ---------------
Current thread (0x0000000020fea800): JavaThread “C2 CompilerThread1” daemon [_thread_in_native, id=10188, stack(0x00000000219b0000,0x0000000021ab0000)]
[error occurred during error reporting (printing stack bounds), id 0xc0000005]