My Oracle Support Banner

'Caused By: Java.lang.OutOfMemoryError: Unable To Create New Native Thread' when Setting up a Large Number of Instances in GlassFish Server 3.x (Doc ID 1495293.1)

Last updated on MAY 06, 2024

Applies to:

Oracle WebLogic Server - Version 6.1 to
Java SE JDK and JRE - Version 1.3.1 to 8
Oracle GlassFish Server - Version 3.1.2 to 3.1.2 [Release 3.1]
Linux x86-64


When trying to run a large number of instances on GlassFish server the following error can be observed in the server and instance logs  



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.