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

Solution Unverified - Updated -

Issue

  • 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

Environment

  • Java
    • OpenJDK
    • Oracle 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