JBoss - Java heap retention in SharedLocalYieldingClusterLockManager

Solution Verified - Updated

Environment

  • Enterprise Application Platform (EAP)
    • 6.0.x
    • 6.1.x
    • 6.2.0

Issue

  • JBoss goes OOME and most of the heap is used by org.jboss.as.clustering.lock.SharedLocalYieldingLockManager$LocalLock.

Resolution

  • Upgrade to EAP 6.2.2+.

Root Cause

Diagnostic Steps

  • Capture a heap dump and compare org.jboss.as.clustering.lock.SharedLocalYieldingLockManager$LocalLock object counts to session counts
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.