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

Free Support Forum - aspose.com

Conversion to PDF very slow on linux

Hi,
when
converting a Word document to PDF the conversion is very slow on linux : same conversion takes 4s on windows and 66s on linux red hat

Code to convert is:

new Document(wordInputStream).save(pdfOutputStream, SaveFormat.PDF)

Version used is AsposeWords 16.11.0 (java)

Hi Cédric,

Thanks for your inquiry. Could you please attach your input Word document here for testing? We will investigate the issue on our side and provide you more information.

Please find the document attached

Hi Cédric,

Thanks for sharing the document. We have tested the scenario at Ubuntu using latest version of Aspose.Words for Java 16.11.0 with VM options -Xmx1024m and have not found the shared issue. Please increase the heap size at your side to fix this issue. Moreover, please make sure that you are using Aspose.Words for Java 16.11.0 and same input document.

Please let us know if you have any more queries.