System.OutOfMemoryException While Converting .HTML File To PDF


#1

Hi,

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 ?

Groupdocs.zip (192.4 KB)


#2

@Hemant.Madhyan,

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 Groupdocs.zip
  • Which version of the API you are utilizing in your project?

We’ll appreciate your cooperation in this regard.


#3

HI,

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


#4

@Hemant.Madhyan,

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.