Resources

We are converting a 50mb word documents with 30,000+ pages to pdf the process is using just over 10GB Ram is there any way we can throttle the conversion process to use less memory and to serializes the pages as it goes along speed is not a problem in our case.

Thanks

Karrim

Hi Karrim,

Thanks for your inquiry. This is a huge Word document, I think, the best way is to first produce many small Word documents from it e.g. you can programmatically divide this huge 30k+ pages document into 300 individual documents each having just 100 pages. After that convert these 300 Word document to PDFs and then concatenate all 300 PDFs into one huge PDF using Aspose.Pdf API. For more information, please read the following link:
https://docs.aspose.com/pdf/net/concatenate-pdf-documents/

I hope, this helps.

Best regards,