My Oracle Support Banner

Troubleshooting "java.lang.OutOfMemoryError: unable to create new native thread" Due to Thread Resource Limitation (Doc ID 2170554.1)

Last updated on DECEMBER 21, 2022

Applies to:

Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.

Purpose

 This document explains how to troubleshoot "java.lang.OutOfMemoryError: unable to create new native thread" errors due to thread resource limitation.

Troubleshooting Steps

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
Purpose
Troubleshooting Steps
References

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