OutOfMemoryError Occurs when Converting Presentation Slides to Images in Java (Landray RDM EKP-7621)

ppt source code:
src.zip (3.3 KB)

origin ppt files:
测试办法版次2.pptx.zip (1019.3 KB)

error converted :

java.lang.OutOfMemoryError: Requested array size exceeds VM limit

Please have a check.

@hucq_landray_com_cn,

Thanks for the sample Powerpoint Presentation file and details.

After an initial test, I was able to reproduce the issue as you mentioned by rendering your Presentation file (PPTX) to images. I found an exception “java.lang.OutOfMemoryError: Java heap space” when rendering Presentation images.

We require thorough evaluation of the issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESJAVA-39489

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@hucq_landray_com_cn,

We are pleased to inform you that your issue (logged as “SLIDESJAVA-39489”) has been resolved. The fix will be included in the upcoming release (Aspose.Slides v24.6) which we plan to release in this month. We will notify you when the fixed version is released.

The issues you found earlier (filed as SLIDESJAVA-39489) have been fixed in Aspose.Slides for Java 24.6 (JAR).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.