JBoss - Java heap retention in controlFlags array

Solution Verified - Updated

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

Root Cause

Diagnostic Steps

Components
Category

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.