Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Sat Nov 26, 2022 10:47 pm


For our performance testing on multithreading, we have to test the method "Document.saveToFile(...)". We are having issues with your product (spire.doc - 5.4.2 then 10.11.6) when it uses Treemap. CPU is very very High (near 100%). See upload attachment to understand our problem please.

With JVisualVM, we have Treemap$Entry (13% - 25%)

Do you know this problem? Why our team don't use ConcurrentHashMap or if not, what is your solution(s) please?

Version : Java 11.0.16 - Spire.doc 5.4.2 and 10.11.6 - DocX to PDF

Thanks for your help

Arnaud :)

Posts: 1
Joined: Sat Nov 26, 2022 9:47 pm

Mon Nov 28, 2022 7:25 am


Thank you for your inquiry and sorry to reply late for weekend.
I did an initial test but didn’t reproduce your issue on my side. Could you please provide your input document, test code and test environment (For example, Windows10 64bit) to help us reproduce your issue and work out a solution for you? You could attach your files here or send to us via email (support@e-iceblue.com). Thanks in advance for your assistance.

E-iceblue support team
User avatar

Posts: 63
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.Doc