Hello,
I am using Aspose.Cells v19.5 to generate PNG of table - “TestResults_0” in the attached excel file. Following error occurs when generating the PNG:
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.(Unknown Source)
at com.aspose.cells.b.a.b.za.(Unknown Source)
at com.aspose.cells.a.d.zcd.a(Unknown Source)
at com.aspose.cells.zcdl.a(Unknown Source)
at com.aspose.cells.zcdl.a(Unknown Source)
at com.aspose.cells.zcdl.a(Unknown Source)
at com.aspose.cells.SheetRender.toImage(Unknown Source)
PFA below the source excel and sample code to generate the PNG:
attachments.zip (49.5 KB)
Can you please analyze this issue.
Thanks,
Neha