Large java heap growth in EJB3 SimpleCache expirationFutures
Issue
- We see heap usage grow with many
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTasks. These are all stored inorg.jboss.as.ejb3.cache.simple.SimpleCache'sexpirationFuturesmap. 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, tools, and much more.