We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Java Heap Space Issue : While Converting XLSX file to PDF

Hi Team,

While converting .xlsx file to .pdf we face the error :
Caused by: java.lang.OutOfMemoryError: Java heap space
(refer to Excel_To_Pdf_Conversion_HeapSpace_Error.jpg in the attachments for complete error trace)

Cells Jar version : aspose-cells-21.6
Java version : openjdk version “11.0.10” 2021-01-19
Machine type : 64-bit
Input excel file used : Excel_Conversion_To_Pdf_Sample.xlsx

Refer to Excel_To_Pdf_Conversion_HeapSpace_Error_Files.zip for the attachments.

Excel_To_Pdf_Conversion_HeapSpace_Error_Files.zip (110.2 KB)

Thanks,
Sanjeev

@sanjeevkumarambti,
This issue is observed and logged in our database for further investigation. We will notify you here once any update is available for sharing.

This issue is logged as:
CELLSJAVA-43768 - Java Heap Space Issue is observed while Converting XLSX file to PDF

@sanjeevkumarambti,

This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@sanjeevkumarambti,

Please try our latest version/fix: aspose-cells-21.9.2-java.zip

The issues you have found earlier (filed as CELLSJAVA-43768) have been fixed in this update.