Free Support Forum - aspose.com

Aspose Performance issue with concurrent threads

We had noticed an issue with Aspose while doing Stress Test, Aspose is taking more time to load the data on word format template and the Aspose service is part of application deployed in Jboss server. Is there any suggestions to improve the performance, Thanks in advance.

@majjit,

To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your input Word document
  • Please create a standalone simplified Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

You can statically reuse an Aspose Words instance. Also statically apply the license only once for subsequent conversions. Sometimes depending on implementation using many threads the license file is applied for each thread. So setup your application with licensing applied. Then spawn many threads using a static instance of Aspose to convert files. This should at least reduce Aspose setup time per thread.

@majjit,

Please try the suggestions by @benzoid on your end to see if performance is improved? We have also released a new version of Aspose.Words for Java i.e. 18.7. Please upgrade to the latest version of Aspose.Words for Java. Hope, this helps.

In case the problem still remains, please share the resources mentioned in my previous post for further testing on our end.