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

Free Support Forum - aspose.com

Performance issue in DocumentBuilder.InsertHTML method

We are using ASPOSE library for our web application for generating pdf and word document.

we have valid enterprise licensed for the same.

During performance testing, we have observed that DocumentBuilder.InsertHTML is taking 5 to 10 seconds to process content.
Please let us know how to optimize the performance through this inbuilt Aspose method.

Hi Sandeep,

Thanks for your inquiry. Your query pertains to Aspose.Word, So I have moved your query to related forum. My colleague from Aspose.Word will guide you appropriately.

We are sorry for the inconvenience caused.

Best Regards,

Hi Sandeep,

for your inquiry. It is quite difficult to answer such questions
because CPU performance and memory usage all depend on complexity and
size of the documents you are loading/generating.

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.

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

  • Please attach your input Word and Html documents.
  • Please
    share 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.