Batch Jobs Fail with "java.lang.OutOfMemoryError: Unable To Create New Native Thread" on Solaris with Java SE 8
(Doc ID 2451073.1)
Last updated on SEPTEMBER 24, 2018
Applies to:Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.
Batch jobs that launch multiple Java Virtual Machines (JVMs) fail with "java.lang.OutOfMemoryError: unable to create new native thread" after upgrading Solaris systems to Java SE 8 or higher.
The batch jobs are started with a default 'java' command.
The crash produces a Hotspot Fatal Error Log (hs_err_pid<PID>.log) that shows the following error:
Upgrade a Solaris system to Java SE 8 from an older version, such as Java SE 6 or Java SE 7.
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