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

Free Support Forum - aspose.com

Exception"out of memory" when loading PPTX using Aspose.Slides for .NET

Hi team

I am using Aspose.Slides latest version for dot net

When I am trying to load one particular pptx file, I am facing out of memory issue on server.
Sometimes same pptx is loaded fine and my task is accomplished but sometimes I am getting error out of memory.

Aspose.Slides.Presentation pptx = new Aspose.Slides.Presentation(filename)///<- Error Throws out of memory.

this is the file attached below where I am facing this issue.
4_ITS Comms Strategy & Plan_2017-03-07_v14.zip (1.1 MB)

Please suggest me way if I can optimise the memory.


I have observed your comments. Can you please share environment details along with which Aspose.Slides version you are using on your end so that we may further investigate to help you out.

Hi @Adnan.Ahmad

We are using P3V2 14 GB Memory server.
and Aspose.Slides version is 18.12.0


I have worked with source file shared by you using Aspose.Slides for .NET 18.12 and unable to observe any issue. I have performed this investigation on window 10 environment with 16 GB RAM. Can you please test this on any other machine.