Hello Aspose Team,
Today I just upgraded my Aspose Slides for Java version from 7.7.0 to 16.9.0.
My application converts PPTX to PDF using the following code:
PresentationEx presEx = new PresentationEx(originalFilePath);
But I needed to change to “Presentation” because PresentationEx does not exist anymore.
Ok, after that was done I begin to experience a severe memory leak problem trying to convert a sample file from the internet (it is attached to this post). This problem crashed my application that ran out of memory.
The problematic class is the following:
49 instances of “com.aspose.slides.ms.core.System.Drawing.imagecodecs.jpeg.pa2137a2a.a”, loaded by “org.apache.catalina.loader.WebappClassLoader @ 0x784975fe8” occupy 531.758.704 (58,60%) bytes.
How can more than 500MB be occupied from a 2.8MB pptx file? In fact it uses even more than that, because my environment that is configured to use up to 2GB of ram crashed when I uploaded just 2/3 files of those.
I need some help, we just upgraded our Aspose Total! That crashing didn’t happen in the old version…