[jboss-user] [Beginner's Corner] - Re: java.lang.OutOfMemoryError: unable to create new native thread

Wolf-Dieter Fink do-not-reply at jboss.com
Tue Apr 5 02:06:32 EDT 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: java.lang.OutOfMemoryError: unable to create new native thread"

To view the discussion, visit: http://community.jboss.org/message/597702#597702

--------------------------------------------------------------
java.lang.OutOfMemoryError: unable to create new native thread

Unfortunately the OOM Exception is a bit confusing, see Java API for this  :( 
It mean that the JVM is out of system resource, in your case could not start a new thread.
There are two reasons:
- restriction to thread resources or filedescriptor
- could not get memory for thread stack (this memory is not included in your -Xmx512m, it will be allocated extra)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/597702#597702]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110405/cc2f7ede/attachment.html 


More information about the jboss-user mailing list