Heap Space Error for just once Slide


I tried to convert slides from a pptx to images. Everything works fine but one slide. It has an image of chart and I get heap space error as below.

java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.(DataBufferInt.java:75)
at java.awt.image.Raster.createPackedRaster(Raster.java:470)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
at java.awt.image.BufferedImage.(BufferedImage.java:338)
at com.aspose.slides.pf4dd765c.pbdb106a0.pa2137a2a.aj.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.pa2137a2a.aj.do(Unknown Source)
at com.aspose.slides.abv.char(Unknown Source)
at com.aspose.slides.abv.switch(Unknown Source)
at com.aspose.slides.alf.do(Unknown Source)
at com.aspose.slides.GeometryShapeEx.for(Unknown Source)
at com.aspose.slides.PictureFrameEx.do(Unknown Source)
at com.aspose.slides.GroupShapeEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.SlideEx.getThumbnail(Unknown Source)

I used v 8.0.0 and 8.3.0 of slides. I also tried to increase heap space but no luck. The document has 21 slides and there is problem for only one slide. If i skip that slide, it works perfectly.

Please help.

Hi Ravi,

Thank you for considering Aspose.

Please share your presentation file with us. We will test it and get back to you soon.

Sorry for the inconvenience,

Hi Owais,

Thanks for reply.

However, I am bound to not share any document(against company policies :frowning: ). My company has your support so probably would be a raising a ticket soon enough.

Thanks and Regards
Ravi Gupta

Hi Ravi,

Thank you for the reply.

We will wait for the file from your company account for testing.

Thanks & Regards,