Large java heap growth in EJB3 SimpleCache expirationFutures

Solution Unverified - Updated -


  • We see heap usage grow with many java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTasks. These are all stored in's expirationFutures map. Inspecting the tasks show they are all in a cancelled state. Why are these cancelled tasks not removed?


  • JBoss Enterprise Application Platform (EAP) 7.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In