Loading a Large PPTX File Causes Aspose.Slides to Hang

When opening large PPTX files with Aspose using the call below with the filename the path to this PPTX it never moves on. The stack dump is below

com.aspose.slides.Presentation pres = new com.aspose.slides.Presentation( filename );

at com.aspose.slides.internal.fy.void.setCapacity(Unknown Source)
at com.aspose.slides.internal.fy.void.b(Unknown Source)
at com.aspose.slides.internal.fy.void.write(Unknown Source)
at com.aspose.slides.internal.de.do$1.do(Unknown Source)
at com.aspose.slides.internal.de.do.do(Unknown Source)
at com.aspose.slides.internal.de.do.if(Unknown Source)
at com.aspose.slides.internal.de.do.do(Unknown Source)
at com.aspose.slides.internal.de.do.do(Unknown Source)
at com.aspose.slides.internal.df.new.case(Unknown Source)
at com.aspose.slides.internal.df.new.int(Unknown Source)
at com.aspose.slides.internal.df.do.int(Unknown Source)
at com.aspose.slides.internal.df.try.new(Unknown Source)
at com.aspose.slides.internal.de.if.do(Unknown Source)
at com.aspose.slides.VideoCollection.do(Unknown Source)
at com.aspose.slides.ak7.for(Unknown Source)
at com.aspose.slides.ak8.int(Unknown Source)
at com.aspose.slides.ak8.do(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.<init>(Unknown Source

@dfplive,
Thank you for contacting support.

It will take me a while to test the problem you are facing. We will reply to you a little later.

@dfplive,
It looks like your presentation file was corrupted. In such cases, there may be any errors. PowerPoint_message.jpg (20.4 KB)

In any case, you should take extra steps to load large presentations, as they require a huge amount of resources. The following articles will help with this: