Memory leak in JSF FlashScope - expired elements in ELFlash are not cleared

Solution Verified - Updated -

Issue

  • JBoss hit an java.lang.OutOfMemoryError with much of the heap consumed by java.util.concurrent.CocurrentHashMap which is referenced by com.sun.faces.context.flash.ELFlash.

  • Objects in FlashScope are not cleared after that scope is expired (POST-REDIRECT-GET completed).

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2.x
    • 7.3.0, 7.3.1

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