Hi,
I got OutOfMemoryErrors for some documents if I try to save the content of an OLE object.
java.lang.OutOfMemoryError: Java heap space
at com.aspose.words.aw.e(Unknown Source)
at com.aspose.words.aw.save(Unknown Source)
at com.aspose.words.OleFormat.save(Unknown Source)
at com.aspose.words.OleFormat.save(Unknown Source)
at TestOutOfMemoryError$1.visitShapeStart(TestOutOfMemoryError.java:42)
at com.aspose.words.Shape.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.Paragraph.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.Body.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.Section.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.Document.accept(Unknown Source)
at TestOutOfMemoryError.testOutOfMemoryError(TestOutOfMemoryError.java:31)
And the size of the files is not big enough to explain the exception.
I attached a simple test case to reproduce the exception.
Stephan.