Free Support Forum - aspose.com

Out Of Memory Exception in Aspose.Slides 2.8.4.0- potential memory leak?

When I run this code with the attached file I recieve a System out of memory error and the actual process jumps from 50 M of RAM usage to 760 M:

private void SavePptAsPdf(Aspose.Slides.Presentation ppt, string fileName)
{
ppt.SaveToPdf(fileName);
}

the ppt variable is initialized with:

Aspose.Slides.Presentation ppt = new Aspose.Slides.Presentation(string.Format(@"{0}{1}", source, f.FileName));
SavePptAsPdf(ppt, string.Format(@"{0}{1}.pdf", temp.FullName, f.FileName));

Your help is appreciated.

Dear ashcrafr,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for reporting, we will investigate it. Are you getting this problem with 2.8.4.0 only or all other versions of Aspose.Slides?