Getting "java.lang.OutOfMemoryError: Failed to fork OS thread" Exceptions (Doc ID 1025422.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
IBM AIX on POWER Systems (32-bit)

Symptoms

A JavaCAPS Domain running on AIX 5.3 crashes at random times, generating a javacore file in the domain's config directory (./is/domains/<domain1/config/). The top section of the javacore file says that the Event causing the javacore was an uncaught "java.lang.OutOfMemoryError: Failed to fork OS thread" exception. The Domain has plenty of free memory available in the heap, and does not have a lot of threads running.

Cause

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