Java Application "java.lang.OutOfMemoryError: Direct buffer memory"

Solution Unverified - Updated -


  • "java.lang.OutOfMemoryError: Direct buffer memory" in the JBoss server log
  • One of the slave machines gets disconnected from the Domain Controller and starts throwing this error:
[Host Controller] 16:36:41,136 ERROR [org.xnio.listener] (management I/O-2) XNIO001007: A channel event listener threw an exception: java.lang.OutOfMemoryError: Direct buffer memory


  • Java
    • OpenJDK
    • Oracle JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In