Memory problem while converting html to pdf

Hi

I make a new Document from html with aspose.pdf. In Visual Studio 2015 I can see, that the memory consumption goes up to 160MB. How can I free the memory? Dispose and FreeMemory does not help.

Thank you.

Hi Marco,


Thanks for contacting support.

The problem appears to be related to input HTML file being used. Can you please share the resource file, so that we can test the scenario in our environment. We are sorry for this inconvenience.

See attachment. It’s a html file, but cannot upload such files here.

Hi Macro,

Thanks for sharing sample HTML. I have tested the HTML to PDF conversion scenario and noticed the memory consumption issue. For further investigation, I have logged an performance issue in our issue tracking system as PDFNEWNET-40446 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif”;mso-fareast-font-family:
Calibri;color:#333333;mso-ansi-language:EN-US;mso-fareast-language:EN-US;
mso-bidi-language:AR-SA”>Best Regards,

The issues you have found earlier (filed as PDFNET-40446) have been fixed in Aspose.PDF for .NET 22.8.