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

Free Support Forum - aspose.com

DOCX containing MathType equations causes performance issue when converts to HTML using Java

Hi~We are using Aspose.Words for JAVA (18). It takes very long time( about 153s) when we try to convert a document with a lot of MathType equations(about 3000) to html using the api Document.save(filename, SaveFormat.HTML). May I ask is that normal? And how can I improve that? Thank you very much!


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.

Moreover, it also depends on local environment. It can be completely different for a server that generates thousands documents 24/7 or for a local PC that generate only the one document by demand.

The simplest rule is: the first call of “new Document()” will cause to load all related classes and system buffer instantiation. The static Aspose.Words resources (document styles, fonts, border arts, etc.) are loaded lazily – only when they really needed and after loading they are cached during the session.

Could you please share your input document and code example that you are using here for testing? We will investigate the issue and provide you more information on it.