Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Java アプリケーションエラー "java.lang.OutOfMemoryError: Java heap space"

Solution Verified - Updated -

Issue

  • JBoss アプリケーションサーバーがリクエストの受信中に停止します。
  • JBoss の server.log ファイルに以下のメッセージが表示されます。

        ERROR [STDERR] java.lang.OutOfMemoryError:Java heap space 
    
  • JBoss Operations Network (JON) サーバーログに以下のログメッセージが表示されます。

        Caused by: java.lang.OutOfMemoryError:Java heap space
        ERROR [STDERR] Exception in thread "RMI TCP Connection(44627)-192.168.1.1"
        ERROR [STDERR] java.lang.OutOfMemoryError:Java heap space
    

Environment

  • OpenJDK
  • Sun JDK
  • Sun JRE

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