My Oracle Support Banner

"OutOfMemoryError: Unable To Create New Native Thread" (Doc ID 462808.1)

Last updated on JULY 23, 2018

Applies to:

Oracle Containers for J2EE - Version 9.0.4.0.0 to 10.1.3.5.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.

Symptoms

Application fails with some errors, even though it looks like there is plenty of heap memory to run with:  

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

This error mean that the JVM required to created a new thread but it failed, most frequent reason is that the limit of processes has been reached.
This error may be thrown by any java program either standalone or the Application Server.

It is actually more related to the OS resources availability and the application usage of resources, like number of threads.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.