My Oracle Support Banner

Application Throws "java.lang.OutOfMemoryError: unable to create new native thread" (Doc ID 1373351.1)

Last updated on MARCH 31, 2023

Applies to:

Java Platform, Standard Edition - Version 5.0 to 7 [Release 5.0 to 7]
Java SE JDK and JRE - Version 1.5.0 to 7 [Release 1.5 to 7]
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

In the log file of an application, an error is thrown as shown below.  The root of the error is an "OutOfMemoryError: unable to create new native thread".

 

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
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.