I have been experiencing this errors in my linux servers.
Resource temporarily unavailable [fork] &
insufficient memory for the Java Runtime Environment to continue
I have increased the nproc limit in my server to 2047. And I hope that resourse unavailable message will not come again
But while entering the java command itself, it is throwing the error "Insufficent memory". I tried to set the java heap memory but that also not allowing. I am not sure how to proceed further. Please help!!
OS is Centos 6.8
Java Version is Jdk 1.6
Virtualization is LXC
multiple Virtual machines are running in host server.
Free memory is 15GB across all virtual machines.
Since it is LXC virtualization, it is having the shared memory across all virtual machines.