We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Document.Save hangs forever leaking memory. Possibly linked to HtmlFragment with external images

Hi there.

We have the latest 21.7 Aspose PDF. It fails to generate PDF. Document.Save hangs forever while leaking memory. I can send you a small console project that reproduces the problem if that helps.

I suspect that could be due to HtmlFragment. And it behaves this way only with particular html fragments.

@shelomovskiy

Please share the console project and your findings with different html fragments so that we may try to reproduce the same on our end.

Hi there. The project is here: https://github.com/shelomovskiy/AsposeHtmlToPdf

I have added several html fragments. Two will work and two will not. Please take a look.

@shelomovskiy

I have been able to reproduce the issue on our end. A ticket with ID PDFNET-50366 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.