Problem in Slide conversion

Hello i am not able to convert this file through simple code

com.aspose.slides.IPresentation pres = new com.aspose.slides.Presentation( + “file.pptx” );
pres.save(“New.pdf”, com.aspose.slides.SaveFormat.Pdf);

The file is not being loaded in the object

Error is Out of Memory


Exception in thread “main” java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOf(Unknown Source)
at java.util.ArrayList.grow(Unknown Source)
at java.util.ArrayList.ensureExplicitCapacity(Unknown Source)
at java.util.ArrayList.ensureCapacityInternal(Unknown Source)
at java.util.ArrayList.add(Unknown Source)
at com.aspose.slides.ms.pa2137a2a.b.if(Unknown Source)
at com.aspose.slides.GradientFormat.(Unknown Source)
at com.aspose.slides.FillFormat.(Unknown Source)
at com.aspose.slides.BasePortionFormat.(Unknown Source)
at com.aspose.slides.PortionFormat.(Unknown Source)
at com.aspose.slides.ParagraphFormat.(Unknown Source)
at com.aspose.slides.TextStyle.do(Unknown Source)
at com.aspose.slides.TextStyle.(Unknown Source)
at com.aspose.slides.TextFrameFormat.(Unknown Source)
at com.aspose.slides.TextFrame.(Unknown Source)
at com.aspose.slides.TextFrame.(Unknown Source)
at com.aspose.slides.AutoShape.addTextFrame(Unknown Source)
at com.aspose.slides.pm.(Unknown Source)
at com.aspose.slides.pn.(Unknown Source)
at com.aspose.slides.SmartArt.for(Unknown Source)
at com.aspose.slides.SmartArt.do(Unknown Source)
at com.aspose.slides.bhv.do(Unknown Source)
at com.aspose.slides.aau.do(Unknown Source)
at com.aspose.slides.aau.do(Unknown Source)
at com.aspose.slides.du.do(Unknown Source)
at com.aspose.slides.bgz.do(Unknown Source)
at com.aspose.slides.bad.do(Unknown Source)
at com.aspose.slides.ayx.byte(Unknown Source)
at com.aspose.slides.ayx.do(Unknown Source)
at com.aspose.slides.Presentation.int(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)

Hi Hafsa,

Thank you for posting.

I have observed your comments and worked with the presentation file shared by you. I have been able to reproduce the issue. A ticket with ID SLIDESJAVA-35243 has been logged in our issue tracking system to further investigate and resolve the issue.This thread has been linked with the issue so that you may be notified automatically as soon as the issue will be resolved.

We are sorry for your inconvenience,

Hi Hafsa,


I would like to share with you that we are investigating this issue on our end and we request you to please share with us the environment details and system specifications on your end so that we may proceed further to sort it out.

Best Regards,

Hi Hafsa,


I request you to please share with us the environment details and system specifications on your end, so that we may proceed further to help you out.

Best Regards,

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.