JBoss - Java heap retention in FileCleaningTracker$Tracker

Solution Verified - Updated -

Issue

  • We start to receive OutOfMemoryErrors under load.  The heap dump shows much of the heap at the time is consumed by many instances of org.apache.commons.io.FileCleaningTracker$Tracker.  These tracker objects are stored in FileCleaningTrackers Vector called "trackers".

Environment

  • JBoss Enterprise Application Platform
  • Apache commons IO

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