Re: java.lang.OutOfMemoryError: unable to create new native thread
It's at 64-bit system/JVM.
The process limits from /proc/pid/limits are:
Max processes 16341 16341
Max open files 65536 65536 files
The JVM flags used are : -Xmx8g -Xss1024m
The default value in JVM is:
amqstg@xxxxxxxxxxxx(nyc):~> java -XX:+PrintFlagsFinal -version | grep
intx ThreadStackSize = 1024
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
The OS limits and heap sizes seem more that enough to me. I have another
instance that runs with same configuration and hasn't exhibited this
behavior. What other factors should i look at for more information next time
this issue occurs.
How can i increase the native memory space if thats what is causing this?
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html