Heap OutOfMemoryError with JBoss EAP Remoting SASL Authentication Memory Leak

Solution Verified - Updated -

Issue

  • Application server fails and exits
  • Error in log:

    ERROR [stderr] (Session pool worker) Exception in thread "Session pool worker" java.lang.OutOfMemoryError: Java heap space
    ERROR [stderr] (default Accept) Exception in thread "default Accept" java.lang.OutOfMemoryError: Java heap space
    ERROR [org.jboss.mod_cluster.undertow] (UndertowEventHandlerAdapter - 1) Java heap space: java.lang.OutOfMemoryError: Java heap space
    ERROR [stderr] (default task-28) java.lang.OutOfMemoryError: Java heap space
    ERROR [stderr] (Thread-4 (ActiveMQ-scheduled-threads)) Exception in thread "Thread-4 (ActiveMQ-scheduled-threads)" java.lang.OutOfMemoryError: Java heap space
    ERROR [stderr] (default I/O-8) Exception in thread "default I/O-8" java.lang.OutOfMemoryError: Java heap space
    ERROR [stderr] (Thread-1 (ActiveMQ-scheduled-threads)) Exception in thread "Thread-1 (ActiveMQ-scheduled-threads)" java.lang.OutOfMemoryError: Java heap space
    Caused by: java.lang.OutOfMemoryError: Java heap space
    

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP) 7.1, 7.2
  • Enterprise Java Beans (EJB)
  • JBoss Remoting
  • Simple Authentication and Security Layer (SASL) Authentication
  • OutOfMemoryError (OOME)

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