java.lang.OutOfMemoryError: Java heap space error encountered while converting excel worksheet with pictures to PDF

Scenario:

Attempting to convert an excel worksheet with multiple images into PDF using a ‘buildOutputResponse(function, conversionRequest, docstatus, docstatusmsg);’ and 'ConvertXls.save ’ (in the apsose library) call. The excel I’m trying to render is attached. Increasing the max heap size of running Java doesn’t seem to help. (it was incread to 5GB)

Excel worksheet to convert: excel_template.zip (807.3 KB)

Aspose version used: 19.6

@claus.gapp,

Thanks for the template file and details.

Please try our latest version/fix: Aspose.Cells for Java v20.3.3 (attached)

I have tested your scenario/ case using Aspose.Cells for Java v20.3.3, it works fine and the output file is fine tuned. Also, I do not get any exception…

Let us know your feedback.
aspose-cells-20.3.3-java.zip (7.0 MB)