My Oracle Support Banner

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

Last updated on JUNE 02, 2023

Applies to:

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


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.


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

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