Html Conversion failed for large html files

Hello, 

I have html conversion to pdf working for light to moderate files. However when i want to convert a large html, I get the html conversion failed error. Html i tested with is about 290mb of data. What could be the cause of this?

My goal is to be able to generate a pdf that contains millions of rows of data.



1 Reply

KS Karmegam Seerangan Syncfusion Team January 9, 2024 06:00 AM UTC

Hi Dara,


Thank you for contacting Syncfusion support,

We have checked the reported issue with a large HTML file in HTML to PDF conversion. While loading the large HTML file in the Webkit rendering engine with millions of table rows of data, the conversion fails in the Webkit rendering engine itself. So, we are unable to proceed further on this.

 

However, as a workaround, you can split the large HTML files to perform conversion and after the conversion, you can merge the PDF documents using the merge pdf functionality. Kindly refer to the below link for more information,
HTML to PDF: Converting HTML to PDF with WebKit engine | Syncfusion

Merge PDF: Merge PDF Documents | Syncfusion


Regards,

Karmegam


Loader.
Up arrow icon