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

Free Support Forum - aspose.com

Aspose Memory Leak

Dear Team,

unfortunately we have found a Memory Leak in the Aspose.Words.dll which causes a OutOfMemoryException (1,8 GB) and a crash of an application. We can reproduce this issue and can provide you a small tool with a document to convert if you want

Please let us know when you can fix this bug.
Thank you,

Hi Anton,

Thanks for your inquiry. It would be great if you please share following detail for investigation purposes.

  • Please attach your input Word documents.
  • Please

create a standalone/runnable simple application (for example a Console
Application Project
) that demonstrates the code (Aspose.Words code) you used to generate
your output document.

it is difficult to say what the problem is without the Document(s) and
simplified application. We need your Document(s) and simple project to
reproduce the problem. As soon as you get these pieces of information to
us we’ll start our investigation into your issue.

thank you for your response. Attached please find a test document and a console application (VS 2013 Project included) for testing. Please put the test document under C:\temp\officeinput and then run the test tool: AsposeMemoryLeak\bin\Debug\AsposeMemoryLeak.exe
Best Regards,

Hi Anton,

Thanks for sharing the detail. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-11464. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-11464) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hi Team,

Is there any known limitation as to what document limit aspose conversion of html to word is supported. I often see the out of memory error while converting at a size of around 15-20 MB. I am using Aspose for Java Words-15.11.0 version.

Please let me know if this problem is addressed.


Hi Priyanka,

Thanks for your inquiry. Please note that CPU performance and memory usage all depend on complexity and size of the documents you are loading/generating.

In terms of memory, Aspose.Words does not have any limitations. If you’re loading huge Word documents into Aspose.Words’ DOM, more memory would be required. This is because during processing, the document needs to be held wholly in memory. Usually, Aspose.Words needs 10 times more memory than the original document size to build a DOM in the memory.