When building huge documents assume >4000 pages we are getting memory out of exception.
Our word generator is a 32-bit console application and due to some constraints we can't move to 64-bit.so we want to optimize the memory usage.
are there any tips or tricks that will make it work.
We are using the below code to save the document and the document has a TOC based on bookmarks not a normal word TOC.
Dim docxSaveOptions As Aspose.Words.Saving.OoxmlSaveOptions = New Aspose.Words.Saving.OoxmlSaveOptions(SaveFormat.Docx)
Please share anything that makes sense for this problem.