IBM Support

Troubleshooting native OutOfMemory (OOM) error caused by a thread leak (unbounded number of threads)

Troubleshooting


Problem

When a javacore is generated by an OOM error,  most often it shows that the OOM error is due to "Java heap space" (i.e. ran out of heap space),  yet occasionally we see the cause: "Failed to create a thread" and the javacore will contain something like this:
...
Dump Event "systhrow" (00040000) Detail "java/lang/OutOfMemoryError" "Failed to create a thread: retVal -1073741830, errno 11" received
...

 

Symptom


When the JVM reaches OutOfMemory (OOM) with error "Failed to create a thread" that is a typical sign of running out of native memory (as opposed to running out of Java heap space).

Document Location

Worldwide

[{"Type":"SW","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m50000000CdAmAAK","label":"OutOfMemory-\u003ENative"}],"ARM Case Number":"TS005358711","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

TS005328366;TS005358711

Document Information

Modified date:
03 March 2025

UID

ibm16441095