Large java heap growth in EJB3 SimpleCache expirationFutures

Solution Unverified - Updated -

Issue

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

Environment

  • 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