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. Image for the cookie policy date

Trouble converting relatively large document to pdf

We are trying to implement the Syncfusion conversion from docx to pdf in our application. While testing, we came across an issue when converting a file of ~25mb size. We use a bare-bones implementation, yet the DocIORenderen.ConvertToPDF is not able to convert the document. Instead it keeps using more RAM memory, with no end in sight. In approximately 5 minutes it is already up to 3 GB of memory usage.

I will send the file in question, together with a stripped version of the implementation that we are using. (I removed the license key from the codeline)

Why is it having trouble with this file? It should not be too big for the converted to handle.


Attachment: Conversiontest_e283cdd8.zip

7 Replies

SB Suriya Balamurugan Syncfusion Team May 8, 2023 02:26 PM UTC

Hi pvkekem,

We have reproduced the reported problem with “Hanging issue while converting Word document to PDF” in our end. We will validate this issue and update you with more details on 10th May 2023.

Regards,
Suriya Balamurugan.



AN Anto Nihil Sahaya Raj Syncfusion Team May 10, 2023 03:08 PM UTC

Pvkekem, currently, we are validating the reported problem on our side. We will share further details within 2 business days.



AN Anto Nihil Sahaya Raj Syncfusion Team May 12, 2023 04:35 PM UTC

Pvkekem, we have confirmed that the reported issue Hanging issue occurs during dynamic re-layouting of Word to PDF conversion” is a defect and we have logged a defect report. We will include the fix for this defect in our weekly NuGet release which is estimated to be available on 30th May 2023.

The status of this bug can be tracked through the below link:
https://www.syncfusion.com/feedback/43665/hanging-issue-occurs-during-dynamic-re-layouting-of-word-to-pdf-conversion

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”



AN Anto Nihil Sahaya Raj Syncfusion Team May 31, 2023 05:55 PM UTC

Pvkekem, initially we faced a hanging issue while converting the first page of the document to PDF. Even after fixing the hanging issue, an exception is thrown while converting the Word document to PDF. So, we couldn’t deliver the fix as promised. Kindly consider the difficulty. We will deliver the fix in next weekly NuGet without further delay. We will let you know once the fix is included in the weekly release.

The status of this bug can be tracked through the below link:
https://www.syncfusion.com/feedback/43665/hanging-issue-occurs-during-dynamic-re-layouting-of-word-to-pdf-conversion



AN Anto Nihil Sahaya Raj Syncfusion Team June 7, 2023 04:41 AM UTC

Pvkekem, as promised earlier, we have included the fix for the reported issue with “Hanging issue occurs during dynamic re-layouting of Word to PDF conversion” in our latest weekly NuGet release (v21.2.9).

Please use the below link to download our latest weekly NuGet:
https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core/21.2.9

The status of this bug task can be tracked through the below link:
https://www.syncfusion.com/feedback/43665/hanging-issue-occurs-during-dynamic-re-layouting-of-word-to-pdf-conversion

Note: We will include this fix in our 2023 Volume 2 Main Release which will be available at the end of June 2023.



PV Peter van Kekem June 9, 2023 12:44 PM UTC

Hello Syncfusion team,

We have implemented the weekly release version into our product. We were able to successfully convert the file that we were not able to convert before. Thank you for this fix.



JS Jayashree Suresh Anand Syncfusion Team June 12, 2023 06:56 AM UTC

Hi pvkekem,

You're welcome. Thank you for letting us know that the provided fix has been resolved your issue. Please get back to us if you need any further assistance. We would be happy to help you. 

Regards,

Jayashree. 


Loader.
Live Chat Icon For mobile
Up arrow icon