OutOfMemoryError Occurs while Saving PPTX to HTML in Java (3229)

Hi,

I am writing to you about a problem we encountered in working with MSO PowerPoint document (pptx format) using the Aspose Slides v24.3 library.

Specifically, when we load and then try to save the presentation to HTML format an OutOfMemoryError occurs.

I am enclosing 3 source files and test code for reproducing reported behavior.

Best regards!

Nenad

Files (share point): WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free
test code.zip (533 Bytes)

@zpredojevic,
Thank you for reporting on the issue. I reproduced the error you described.

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

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.

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

  • OS version on which the error occurs
  • JDK target version in your app
  • JVM arguments

@andrey.potapov

Requested information:

  • OS: Ubuntu 22.04 LTS / 24.04 LTS

  • JDK: OpenJDK 17 (JRE build 17+35-2724)

  • JVM arguments: default (so no enviroment variables and 2 GB of heap memory)

Sorry for waiting.

Best regards!
Neand

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

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