My Oracle Support Banner

What is causing java.lang.OutOfMemoryError: Unable to create new native thread (Doc ID 2232666.1)

Last updated on MARCH 06, 2019

Applies to:

Oracle WebLogic Server - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Goal

You can encounter the "java.lang.OutOfMemoryError: Unable to create new native thread" whenever the JVM asks for a new thread from the OS. Whenever the underlying OS cannot allocate a new native thread, this OutOfMemoryError will be thrown. The exact limit for native threads is very platform-dependent. This article describes a test that can be run to find out those limits.

Solution

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