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 11.1.1.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 10-Apr-2012***
***Checked for relevance on 11-September-2013***

Symptoms

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(Thread.java:597)
at weblogic.work.DaemonTaskWorkManager.schedule(DaemonTaskWorkManager.java:46)
at weblogic.work.j2ee.J2EEWorkManager.schedule(J2EEWorkManager.java:105)


and have to restart the server to resolve it.

Cause

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