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

Large PPTX File Conversion Service causes OutOfMemory

    XMLWordPrintable

Details

    Description

      Summary

      Uploading some PPTX files to Confluence can cause OutOfMemory error while generating preview.

      Steps to Reproduce

      1. Upload a Powerpoint file with 300 pages containing graphs/pictures to Confluence (attached, 9.87MB)
      2. Open file in preview window several times

      Expected Results

      Confluence should pre-calculate the resource commitment before previewing the document. Similar to CONFSERVER-45209

      Actual Results

      Confluence became unresponsive. The below exception is thrown in the catalina.out file:

      11-Jan-2018 14:19:12.170 SEVERE [http-nio-8090-ClientPoller-1] org.apache.tomcat.util.net.NioEndpoint$Poller.run
       java.lang.OutOfMemoryError: Java heap spaceException in thread "C3P0PooledConnectionPoolManager[identityToken->1bqxcmo9s1qzxzgfaa24s0|4be2e790]-HelperThread-#1" java.lang.OutOfMemoryError: Java heap space
      
      11-Jan-2018 14:20:25.883 SEVERE [http-nio-8090-ClientPoller-0] org.apache.tomcat.util.net.NioEndpoint$Poller.run
       java.lang.OutOfMemoryError: Java heap space
      

      Heap Dump Analysis

      Workaround

      File conversion service causes OOME in Confluence 5.7 or above.

       

      Attachments

        1. image-2018-01-11-14-39-35-539.png
          image-2018-01-11-14-39-35-539.png
          171 kB
        2. test4.pptx
          9.87 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vkharisma vkharisma (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: