Convert PDF to DOCX - Aspose.PDF - OOM

Hi, we have a problem with converting pdf to docx.
The incoming pdf is 200mb.
During processing, your library uses 5GB of memory and throws an OutOfMemeory exception at the end.
I think this is due to the resizing of the List, which can no longer fit in RAM.
Aspose version 21.1.0
image.jpg (241.4 KB)

@arstepanov

Please try to share the sample PDF document with us so that we can test the scenario in our environment and address it accordingly. You can upload your PDF to Google Drive or Dropbox and share the link with us.

PS: Please try to set the Debug mode as x64 and see if the issue still persists.

Thank you for your reply, here’s the file sample

@DaryaDel

We have tested the scenario in our environment while using Aspose.PDF for .NET 21.1 and noticed that the code kept running for more than 2 hours. It kept consuming 3GB of memory as well. Therefore, we have logged an issue as PDFNET-49400 in our issue tracking system for further investigation. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi! Thank you for your answer. I think it is not good spending of resources when converting 200MB file takes 3GB of RAM. Please pay attention to this issue too. We’ll provide all information you need to solve it. Thank you very much!

@arstepanov

We will surely take your concerns into account and investigate the ticket to improve the memory consumption of the API for conversions of such files. We will analyze and fix the ticket on first come first serve basis as per the policy of normal support model and will surely inform you as soon as it is resolved. We highly appreciate your patience in this regard. Please give us some time.

We apologize for your inconvenience.

1 Like