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, 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