Memory Leak when Using Dispose Method on Presentation Object in C#

TestPPTX.7z (7.3 MB)

Hello,
We are also seeing a possible memory leak with Aspose.Slides - we have used similar code to that listed above to test:

var p = new Aspose.Slides.Presentation(@"c:\Test Files\TestPPTX.pptx");
p.Dispose();
p = null;
GC.Collect();

Inspecting the memory dump shows that Gen2 heap and Large Object Heap still hold Aspose.Slides objects even after GC.Collect() is called.
I have attached the file we tested with.

Please let me know if there will be a fix for this issue soon.
Thank you.

@iprause,
Thank you for contacting support.

When using the Presentation class, memory is allocated for static resources (for fonts, for example), and they may not be freed at code run time. You should perform the code lines above many time in a loop. The memory consumed should not increase significantly for the next iterations.