Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-83362

PPTX File Conversion Service causes Sustained CPU spike and/or OOM Error on DefaultSlideCacheManager threads

XMLWordPrintable

      Issue Summary

      When we attach PPTX files to display on pages, then go to Attachments > View File, the preview keeps loading.
      We also observe high CPU usage on Confluence main process since DefaultSlideCacheManager thread is part of the main process not External Sandbox process.

      This bug is specific to the Confluence versions that bundle aspose-slides-21.8-jdk16.jar inside the document-conversion-library JAR. In some specific instances, we have seen that an old PPTX causes OOM error with this new version of aspose though these were working correctly with lower version of this library i.e aspose-slides-20.11-jdk16.jar

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Attach a complex PPTX file on to page
      2. Navigate to Attachments > View File

      Expected Results

      The preview should load in time and no impact on CPU.

      Actual Results

      We are seeing high CPU usage in the main process by DefaultSlideCacheManager thread:

      And it continues even after switching from the page and waiting 5 minutes:

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              cf398590ce2c Cihan (Inactive)
              Votes:
              10 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: