We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Memory usage when converting pdf to docx

I use version aspose pdf for .net
I try to convert a large pdf document (more than 1000 pages) to a docx.

Code sample:
var pdfDocument = new Document(inputPath);
pdfDocument.Save(outputPath, SaveFormat.DocX);

The size of the source file is 43 MB (https://drive.google.com/file/d/1WXAnaZfUj2jOiCtShTQfA-5FNffvWlps/view?usp=sharing), and when i save to the docx, more than 1.5 GB memory is consumed. How can I reduce the amount of memory consumed in this case? Process hold all available memory.


Thanks for contacting support.

Please note that the API needs more memory to process bigger size documents. However, we have noticed that for your document, API was taking time more than expectations. We have logged this scenario under the ticket ID PDFNET-46387 in our issue tracking system for investigation. We will further look into details of the issue and keep you posted with status of ticket resolution. Please spare us little time.

We are sorry for the inconvenience.