When I’m using Aspose.Slides, I found the memory consumption is unexpectedly high. It took 1.5 minutes and 5.6GB memory to just open and save a 30 slides, 33MB PPTX document.
Console.WriteLine(DateTime.Now); // start time
var ppt = new Presentation(@“test.pptx”);
Process proc = Process.GetCurrentProcess();
Console.WriteLine("Memory consumption: " + proc.PrivateMemorySize64); // print out the memory consumption in bytes
Console.WriteLine(DateTime.Now); // end time
Due to the upload size limit, I have shared the test file in
Also I’ve attached a screenshot of the memory consumption and the duration for your reference.
image.png (7.2 KB)
It is quite usual that we use such scale of presentation documents (the size was mainly because of the office charts used here), but the time spent and memory consumption to manipulate the pptx makes the Aspose.Slides unusable. Could you please help me check this?