'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 09, 2017

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



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms