Error com.sun.imageio.plugins.jpeg.JPEGImageReader

We are abandoning Adobe CQ5 and have a memory problem.

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 copies are not many, but 6 GB.

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

How do I know which class refers to these renderers? If I click on "Path To CG Roots", I get nothing. At first I thought that memory could be used by some static fields, but large structures (i.e. raster ) are not static.

+4
source share
1 answer

I myself came across this question. Turns out this is 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 day-commons-gfx-2.1.28.jar. This also seems to work with 5.4, in case you use. Good luck

+4
source

All Articles