Actually I am converting large docx into html using Docx4J which is taking so much time.
So can I split large docx file into multiple small docx files?
The high tech approach would be to use MergeDocx, part of the commercial Docx4j Enterprise Edition.
The low tech approach is simply to make a copies of the docx, containing different "chunks" of the MainDocumentPart's content list.
With the low tech approach each of the small docx files would contain all the images etc (ie include those not actually used in the "chunk"), but this probably doesn't matter for your application.
- does it contain sections which inherit from one another? you probably don't care if you are creating HTML.
I am giving 200 pages docx file. It is taking nearly 3minutes.
Last edited by purushotham on Tue Apr 02, 2019 9:01 pm, edited 1 time in total.
Uploading to where? What CPU? What -Xmx? You could try to understand where the time is being consumed.
Very much thanks a lot for giving me suggestion.
Performance issue because of my CPU.
And that Docx4J.FLAG_EXPORT_PREFER_NONXSL is also working fastly.