java.lang.OutOfMemoryError: unable to create new native thread: SOA and BAM 11g

(Doc ID 1138733.1)

Last updated on JULY 30, 2017

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.
***Checked for relevance on 10-Apr-2012***
***Checked for relevance on 11-September-2013***


You have a domain consisting of 2 managed servers: (1) SOA_Server and (2) BAM_Server
After a few days of operation you get an Out Of Memory (OOM) error similar to this: 

<span id="mainframespan" />
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(

and have to restart the server to resolve it.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms