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 OCTOBER 17, 2018

Applies to:

Oracle GlassFish Server - Version 3.1.2 to 3.1.2 [Release 3.1]
Oracle WebLogic Server - Version 6.1 to
Java SE JDK and JRE - Version 1.3.1 to 8
Linux x86-64
***Checked for relevance on 02-Jul-2014***


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.