OutOfMemoryException: unable to create new native thread
Applies to:
JBoss
Description:
Occurs while using Jboss
Cause:
This exception is caused by one of two things.
a. A common issue is that you reached the max number of user processes for the account that you’re running JBoss on. You can see the limit by using “ulimit -u”.
b. Another common issue is that the default stack size on recent vms with the -server option is probably too large.
JAVA-JBoss "create native thread" outofmemoryexception, "outofmemoryexception: unable to create new native thread", "unable to create native thread" tomcat 6, "unable to create new native thread" 32-bit, "unable to create new native thread" solaris 64bit, "unable to create new native thread: unable to create new native thread.", can't create native thread solaris, cannot create new native thread solaris, error emsdk.config - unable to create new native thread, glassfish "unable to create native thread", glassfish solaris unable to open new native thread, j, java on solaris 10 out of memory unable to create new native thread, java outofmemory exception unable to create native thread, jboss ide error unable create native thread, jboss native solaris 64, jboss stack size unable to create native thread, jboss unable to create new native thread, jetty unable to create new native thread out of memory solaris, jms "unable to create new native thread" glassfish, linux 64 bit unable to create new native thread, lrm-00118: syntax error at '=' at the end of input, memory, mysql j connector unable to create native thread, native out of memory exception, native thread out of memory exception solaris, outofmemoryexception solaris, outofmemoryexception: unable to create new native thread jboss, solaris java out of memory exception, solaris java what is the default "stack size", solaris setup jms and sun web server, solution: unable to create native thread out of memory for jboss, sun web server outofmemoryexception: unable to create new native thread, tomcat "unable to create new native thread" solaris, unable to create native thread in 64bit, unable to create new native thread 64 bit, unable to create new native thread in linux, unable to create new native thread jboss, unable to create new native thread solaris, unable to create new native thread solaris "weblogic", unable to create new native thread solaris 10, unable to create new native thread solution, weblogic "native thread" "-xss", weblogic 10.3 out of memory cannot create native threads error, xts.runjava.lang.outofmemoryerror : unable to create new native thread
a. Raising the limit should resolve this problem.
b. While the -server option should be specified with JBoss, it is probably wise to reduce the stack size (allocated per thread) for most applications. (On Solaris 32bit the default is 512k, 64bit is 1024k! The default for 32 bit linux is also 512k in recent VMs) Most JBoss applications are fine with a stack size of 128k. The size is controlled with the -Xss option on most VMs, however on solaris this can only increase the size. you must pass -XX:ThreadStackSize=128 to reduce it.