JBoss EAP 6 leaks memory in org.jboss.remoting3.remote.RemoteConnectionProviders
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6.1.1 and earlier
- Red Hat JBoss Enterprise Portal Platform (EPP) 6.0.0
Issue
- JBoss hit an OutOfMemoryError with much of the heap consumed by
org.jboss.remoting3.remote.RemoteConnectionProvidersand theirorg.jboss.remoting3.EndpointImpls, which trace back to the mbean server.
Resolution
- Upgrade to EAP 6.2.0 onwards
- Apply this This content is not included.EAP 6.1.1 one-off
- Apply this This content is not included.EAP 6.1.0 one-off
- Apply this This content is not included.EAP 6.0.1 one-off (provides a fixed jboss client jar and remoting jar)
Root Cause
- Content from issues.jboss.org is not included.REM3-171
- This content is not included.BZ#1002263
- The RemoteConnectionProviders are registered with the MBean server on their construction but never unregistered.
Diagnostic Steps
- Troubleshoot with a heap dump as described in Java application "java.lang.OutOfMemoryError: Java heap space" to confirm the source of retention.
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.