JBoss - Java heap retention in controlFlags array
Environment
- JBoss Enterprise Application Platform (EAP) 5
- 5.0.0
- 5.0.1
Issue
- After numerous JAAS operations an OutOfMemoryError occurs as a "controlFlags" array is never properly cleared and grows to a very large size.
Resolution
- This issue has been resolved by Content from jira.jboss.org is not included.JBPAPP-3812 and this This content is not included.one-off fix has been provided for EAP 5.0.0 and 5.0.1
- This should not be experienced on EAP 5.1.0 or later, which utilizes JBoss Security 2.0.4.SP4 or later
Root Cause
- Content from jira.jboss.org is not included.SECURITY-442
- Content from issues.jboss.org is not included.JBAS-7468
Diagnostic Steps
- Troubleshoot with a heap dump as described in Java application "java.lang.OutOfMemoryError: Java heap space" to identify the source of retention.
- Check for abnormal growth in an array called "controlFlags".
Components
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.