OutOfMemoryError Occurs when Converting Presentation to PDF in Java

Hello,
In the service I set up, I found that a PowerPoint was causing the machine to freeze when converted to PDF. Due to privacy issues, this document is not the source document. But I tried to recreate the scene that caused the problem. Could you please help me take a look? Also, I would like to know if this issue can be fixed in a certain version of ASPose. If so, could you please give me a rough plan? It is very important to me. Please :blush:
test.zip (38.2 KB)

@Mors.DHL,
Thank you for contacting support. I am working on the issue and will get back to you soon.

1 Like

@Mors.DHL,
Thank you for your patience. I’ve reproduced the error you described. We are sorry that you had to encounter this problem.

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-39506

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.

Unfortunately, I cannot yet say when this problem will be resolved, but our developers will do their best to resolve the issue as soon as possible.

Please also share the following additional information if it is possible:

  • OS version on which the problem occurs
  • JDK target version in your application project
  • maximum amount of memory available for your app

Thank u for your support.

  1. As i know, the problem can be reproduced both in windows and linux system.
  2. java version: 1.8.0_311
  3. app memory: 8G

@Mors.DHL,
Thank you for the additional information. I’ve forwarded it to our developers.

The issues you found earlier (filed as SLIDESJAVA-39506) have been fixed in Aspose.Slides for Java 24.8 (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.