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

Free Support Forum - aspose.com

Multicore is not supported in latest ASPOSE libs?


the new libraries are not using all cores like the old libraries.

A document with 77 sites is parsed from word to pdf in about 6 minutes. With old libraries it took about 20 seconds (used all cores). How is it possible to get all cores working?

We think now its something with the pdf creation. tif to pdf is only on one core too.

Hi Uwe,

Can you please share your sample documents and complete code to reproduce the issue?

Best Regards,

public byte[] convert(byte[] source) {
try {
String path = “/usr/share/fonts/truetype/”;
// Adding a single font directory

ByteArrayInputStream bis = new ByteArrayInputStream(source);
PdfSaveOptions options = new PdfSaveOptions();
Document doc = new Document(bis);
String sUUID = getuuid();

doc.save("/tmp/" + sUUID + “.pdf”,options);

byte[] by = new File2byte().getbytes("/tmp/" + sUUID + “.pdf”);
new File("/tmp/" + sUUID + “.pdf”).delete();
return by;
} catch (Exception e) {
return null;

Hi Uwe,

Sorry, I was not able to reproduce this issue at my end. It takes around 13 seconds for first call and less than 10 seconds for second call at my end. Aspose.Words for Java 15.9.0 has also been released. Can you please test with this release at your end and let us know if you see the same issue?

Best Regards,

Hello Muhammad,

thank you for your response. Its working fine now.