Free Support Forum -

HTML to PDF file conversion issue in .NET


We are getting System.OutOfMemoryException while trying converting the .HTML file (6MB) through the Groudocs.Conversion Utility.

I am uploading the source code file used to the conversion to pdf stream and the problematic document.

Note: We are using function public static Stream ConvertToPdfAsStream() inside the class GroupDocsConversionUtility.cs to do the conversion.

Can anyone please assist ? (192.4 KB)


Thank you for your inquiry. Please provide us following details, so that we can investigate the issue at our end:

  • Share the .HTML problematic file with us, I cannot find problematic file in
  • Which version of the API you are utilizing in your project?

We’ll appreciate your cooperation in this regard.


Problematic file is of extension .html .Re-adding the problematic file in a zip file.
Version of GroupDocs.Conversion API used is : file Tom test htm Gis (332.1 KB)


Thanks for sharing the details. We successfully reproduced this issue at our end. Hence, we’ve logged it in our internal issue tracking system with ID:CONVERSIONNET-2229. As we get any update from the concerned team, we shall notify you.


Your reported issue is now resolved in this update.