We would like to state that we have a business support contract for this year but because the reseller is not responding to us we are not able to provide these details. We are Munich Re and you can please google us and you would believe that such a big company will not lie about such a small thing. So we would really appreciate a contact person from Aspose who can help us with this major issue.
The problem Description:
While converting one specific HTML file in Aspose.PDF we experience that it moves to an endless loop making the memory increase exponentially. I am afraid we can not share the HTML file here but if you contact us and after signing a NDA we will be able to share it.
public void Convert()
{
MemoryStream input = new MemoryStream(File.ReadAllBytes(“Mailbody.htm”));
MemoryStream output = new MemoryStream();
Aspose.Pdf.HtmlLoadOptions options = new Aspose.Pdf.HtmlLoadOptions();
//Here the endless loop starts
Document pdfDocument = new Document(input, options);
pdfDocument.Save(output, Aspose.Pdf.SaveFormat.Pdf);
using (FileStream file = new FileStream(“output.pdf”, FileMode.Create, FileAccess.Write))
{
output.WriteTo(file);
}
}
image.png (105.0 KB)
Looking forward to hearing from you.
Himanshu Saxena
Solution Architect
Munich Re
hsaxena@munichre.com
+491709524066