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.