While converting an excel file to PDF as per Aspose Java library, loading a excel file its taking time to load and then saving the file. Its taking more time to load the file also.
workbook wb = new WorkBook(Filepath); //taking time
After applying LoadOptions Memory Settings this time is reduced to normal.
But After that when we write the save
wb.save(pdffilepath, pdfsaveoptions).// its taking time and not releasing the memory.
Even we do not know its saving the file or not. Its neither generating an exception for saving that xls file nor saving the file. Hence not releasing memory
During this time Memory consumption of the server goes high.
So for excel we have implemented the Interrupt Logic. So that if within 3 minutes if thread does not give any result then we have interrupt the thread.
Conversion from PPT to pdf and word pdf though we have not faced the issue yet.
But these processes also takes more CPU.
The CPU consumed is 40% during all the conversion process.
Xls top pdf, ppt to pdf, word to pdf
We are using the libraries below
aspose-cells-19.10.jar
aspose-words-19.7-jdk17.jar
aspose-slides-19.9-jdk16.jar
And after executing the conversion we have some files generated that never gets deleted in our server temp directory this happens for XLS as we are having issue in excel mostly
+~JF1180000881677717716.tmp