Word to PDF conversion with Aspose.Words Cloud throws OutOFMemoryException

We are having problems generating PDFs, corrupt PDF files are being created.

This issue started this morning at 9:00 am AEST.

“{“Message”:“Error while loading file ‘1234.docx.B4AC4FAF-7C7B-4DAF-A988-9C59C434CB5F’ from storage: The type initializer for '\u0002 ’ threw an exception.”}”

Error: Error while loading file ‘123456.docx.508F1C50-22EC-4BAB-BCDC-B6895DEAD01C’ from storage: The type initializer for '� ’ threw an exception. => Error while loading file ‘123456.docx.508F1C50-22EC-4BAB-BCDC-B6895DEAD01C’ from storage: The type initializer for '� ’ threw an exception. => The type initializer for '� ’ threw an exception. => Exception of type ‘System.OutOfMemoryException’ was thrown… Method: Execute document mail merge operation… Parameters: name ‘123456.docx.508F1C50-22EC-4BAB-BCDC-B6895DEAD01C’,withRegions ‘False’,mailMergeDataFile ‘’,cleanup ‘None’,filename ‘’,folder ‘’,useWholeParagraphAsRegion ‘True’,destFileName ‘’

@Mari_Schmidt

We are sorry your inconvenience. Please share your sample template word file along with data. We will look into it and will guide you accordingly.

It appears that the server is out of memory - could you please trouble shoot the memory issue?

1 Like

We are having the same problem.

@Mari_Schmidt

Thanks for your feedback. Please check now, we have redeployed the fresh containers for API Version 1.1. It should work now.

We strongly recommend to use new improved API Version V4 in terms of memory management and API structure. The SDKs >19.2 are using API Version V4, you can check release tab for the changes in later SDK versions.