Welcome to the WinUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinUI, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

I am trying to replace a legacy system for converting HTML to PDF and would like to use Syncfusion since we use it for other processes. However, after setting it up and running the tool, which processes hundreds of HTML files, the memory usage increases dramatically (from 200MB to 1GB) and many Chromium sub-processes are spawned and can be seen in Task Manager.

Here's a simplified version of what I am trying to do:

PdfDocument? pdoc = null;
try
{
pdoc = htmlConverter.Convert(myUrlString); // points to a file on a network drive
using FileStream writePdf = File.OpenWrite(myOutputPath); // write to a new location on network drive
pdoc.Save(writePdf); // save to disk
pdoc.Save(someOtherStream); // also write to another stream that produces a compressed version of the PDF
}
finally
{
pdoc?.Close();
}