OpenJDK OOM issue -
Yu, Tim (NSB - CN/Chengdu)
tim.yu at nokia-sbell.com
Tue Sep 19 08:50:01 UTC 2017
Hi OpenJDK dev group
We meet one issue that the VM failed to initialize. The error log is as below. We checked both memory usage and thread number. They do not hit the limit. So could you please help to confirm why "java.lang.OutOfMemoryError: unable to create new native thread" error occurs? Many thanks.
"
on Sep 18 11:05:04 EEST 2017 2 or first INFO log missing: Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
1. Memory Usage
MemFree: 898332 kB
>From below core file generated during OMM, it can be seen about 900M physical memory available during that time.
2 Thread number
sh-4.1$ ps -eLf|wc -l
5326
sh-4.1$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 43497
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 43497
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Br,
Tim
More information about the jdk8u-dev
mailing list