We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Insufficient memory to continue the execution of the program.

Thread ID:

Created:

Updated:

Platform:

Replies:

149289 Nov 20,2019 06:45 PM UTC Nov 21,2019 01:02 PM UTC ASP.NET MVC 1
loading
Tags: PDF
Kalpesh Kalotra
Asked On November 20, 2019 06:45 PM UTC

Hello,

While using HtmlToPdfConverter for Asp.net mvc5 we're running into following error on azure web app service and which brings down the whole website. 

<package id="Syncfusion.HtmlToPdfConverter.QtWebKit.AspNet.Mvc5" version="16.4.0.52" targetFramework="net462" />

2019-11-12T11:02:20  PID[5588] Error       6948 11:02:20 ERROR Insufficient memory to continue the execution of the program.
Exception: Syncfusion.Pdf.PdfException
Message: Insufficient memory to continue the execution of the program.
Source: Syncfusion.HtmlConverter.Base
   at Syncfusion.HtmlConverter.WebKitConverter.Convert(String url, Int32 width, Int32 height)
   at Syncfusion.HtmlConverter.HtmlToPdfConverter.Convert(String url)

Can you please investigate and provide a fix?

Thanks,
Kalpesh

Gowthamraj Kumar [Syncfusion]
Replied On November 21, 2019 01:02 PM UTC

Hi Kalpesh, 

Thank you for using Syncfusion products. 

We have tried to reproduce the reported issue, but it is working properly. We have tested the conversion in published Azure service with thousands of requests and it is generating the PDF documents without any exception. We have also tried different size of HTML files, still we were not able to reproduce the issue in our end. So, can you please share the following details to reproduce the issue. So, that we can prepare the same environment and same steps to reproduce the exception in our end. 

  1. Complete code snippet, input HTML/URL and the conversion process.
  2. Azure environment details and published profile details (Region, Size, hosting plans, etc.,).

Regards, 
Gowthamraj K 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon