What is causing java.lang.OutOfMemoryError: Unable to create new native thread
(Doc ID 2232666.1)
Last updated on MARCH 28, 2025
Applies to:
Oracle WebLogic Server - Version 10.3.6 and laterInformation 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 |