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

Free Support Forum - aspose.com

PPTX to PDF: Huge CPU Utilization and Timeout

Problem occur in version 21.5 and also in latest version 21.10 (licenced product)

problem_file.zip (2.9 MB)


private static final PdfOptions PDF_A_1_A_OPTIONS;
static {
PDF_A_1_A_OPTIONS = new PdfOptions();
PDF_A_1_A_OPTIONS.setJpegQuality((byte) 90);

try (FileInputStream fis = new FileInputStream(tmpFile)) {
presentation = new Presentation(fis);
presentation.save(os, SaveFormat.Pdf, PDF_A_1_A_OPTIONS);

image.png (10.3 KB)

openjdk version “11.0.12” 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+7-post-Debian-2deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.12+7-post-Debian-2deb10u1, mixed mode, sharing)

PRETTY_NAME=“Debian GNU/Linux 10 (buster)”
NAME=“Debian GNU/Linux”
VERSION=“10 (buster)”

Total installed memory: 4039076

Thank you for the issue description.

To investigate this case on our end, please specify the following:

  • JDK version you used
  • OS version on which the problem occurs

Ok, i’ve updated the issue

Thank you for the additional information.

I logged the issue with ID SLIDESJAVA-38670 in our tracking system. Our development team will investigate this case. We will inform you of any progress.

Our development team has investigated the issue. Unfortunately, we cannot reproduce this CPU usage behavior. We guess that the cause of this behavior was related to an external process. We have reduced memory consumption and improved performance. You should check your results using the upcoming Aspose.Slides 21.12.

A post was split to a new topic: High CPU Usage and Very Long PPTX to PDF Conversion Time