Memory leak in JSF FlashScope - expired elements in ELFlash are not cleared
Issue
-
JBoss hit an
java.lang.OutOfMemoryError
with much of the heap consumed byjava.util.concurrent.CocurrentHashMap
which is referenced bycom.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.