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

Free Support Forum - aspose.com

Aspose.Words.Document UpdatePageLayout() method throws error


We have a hidden text containing word file. When this file is processed UpdatePageLayout() method throws Exception of type ‘System.OutOfMemoryException’ was thrown.". The sample file cannot be shared due to security reasons.

Prabha S


Thanks for your inquiry. Please ZIP and attach your input Word document here for testing. We will investigate the issue and provide you more information on it.

Sample.zip (108.3 KB)
I have attached the sample word document which shows deadlock or out of memory.


Thanks for sharing the document. We have logged this problem in our issue tracking system as WORDSNET-16888. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Any update on this issue?


Thanks for your inquiry. This issue has been resolved in latest version of Aspose.Words for .NET 18.6. Please use Aspose.Words for .NET 18.6.

The issues you have found earlier (filed as WORDSNET-16888) have been fixed in this Aspose.Words for .NET 18.6 update and this Aspose.Words for Java 18.6 update.