This is a critical issue and an important functionality for our application.
There is a memory leak issue with XML using for PDF. The server process grows out to 1.5 from 300-400 MB and gives permission denied error on the pdf file. Attached is the XML file trying to convert. And below is the code to bind it using PDF object.
Aspose.Pdf.License license = new Aspose.Pdf.License();
Aspose.Pdf.Generator.Section section = pdf.Sections.Add();
section.PageInfo.PageWidth = Aspose.Pdf.Generator.PageSize.A4Width;
section.PageInfo.PageHeight = Aspose.Pdf.Generator.PageSize.A4Height;
section.IsLandscape = true;
XmlDocument xd = new System.Xml.XmlDocument();
pdf = null;