Matteo
Matteo

Reputation: 14930

com.sun.imageio.plugins.jpeg.JPEGImageReader leak

We are unsing Adobe CQ5 and have a memory problem.

A dump analysis with Eclipse Memory Analzyer showed that we have

104 instances of "com.sun.imageio.plugins.jpeg.JPEGImageReader", loaded by "<system class loader>" occupy 6,210,086,632 (80.61%) bytes.

Now 104 instances are not much, but 6GB are.

Each class has a sun.awt.image.ByteInterleavedRaster raster of 84 MB.

How can I find out which class references these renderers? If I click on "Path To CG Roots" I get nothing. At first I thought that the memory could be used by some static fields but the big structures (i.e., raster) are not static.

Upvotes: 4

Views: 1960

Answers (1)

Anonymous
Anonymous

Reputation: 56

I just ran into this issue myself. It turns out to be a known issue with the Graphics Support Library. Open an Adobe ticket and request cq-5.5.0-hotfix-NPR-3368-1.2.zip, which basically includes the day-commons-gfx-2.1.28.jar. This appears to also work with 5.4, in case that's what you're using. Good luck!

Upvotes: 4

Related Questions