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

Free Support Forum - aspose.com

Options to avoid massive memory usage Aspose.Words for Java

Hi there,
We use Aspose.Words for Java in our app to manipulate metadata properties. As there could be hundreds or thousands documents to be dealt with at the same time, we found a massive memory usage in our app.
I found the following options could potentially help us:

My question is are there other options as well would help?
Is it possible to process custom xml parts without loading and parsing the entire office document?


@vendorobjective There is also SaveOptions.MemoryOptimization, which allows to decrease memory usage upon saving documents.

Unfortunately, there is no way to access custom xml parts without loading whole document into the DOM.

Memory consumed by Aspose.Words depends on the document size and complexity.

1 Like