Translated message

A translation of this page exists in English.

Java java.lang.OutOfMemoryError: "unable to create new native thread" または "Failed to create a thread"

Solution Verified - Updated -

Issue

  • OpenJDK または Oracle JDK を使用した場合、JBoss サーバーログに次の例外が表示されます。

        java.lang.OutOfMemoryError: unable to create new native thread
          at java.lang.Thread.start0(Native Method)
          at java.lang.Thread.start(Thread.java:597)
          ...
    
  • IBM javacore ファイルには、以下が表示されます。

        1TISIGINFO     Dump Event "systhrow" (00040000) Detail "java/lang/OutOfMemoryError" "Failed to create a thread: retVal -1073741830, errno 11" received
    

Environment

  • OpenJDK
  • Oracle JDK
  • IBM JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content