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

Word Doc w/ Embeded Excel Chart Causes Memory Issues

    XMLWordPrintable

Details

    Description

      Issue Summary

      When adding the Word Doc macro to display a Word document which contains a copy of an Excel chart with a logarithmic scale, Confluence will encounter slow performance issues and encounter a Java Heap issue after saving the page with the Word document.

      UPDATE: This bug can also occur when viewing directly an Excel file with logarithmic scale attached to a page or any office file that contains an Excel file with logarithmic scale.

      Steps to Reproduce

      1. Create a Word Document and embed an Excel chart with a logarithmic scale.
      2. Upload file as an attachment to any Confluence Space (this alone will not cause the issue)
      3. Use the View Doc (Word ver) macro to display (not link) the Word Document on any page
      4. Save Page

      Expected Results

      Once saved, the Confluence page should show the contents of the Word Document on the page.

      Actual Results

      A Java Heap error will display on the page, causing slow performance on the instance. The following is shown in the logs:

      2019-03-14 15:09:27,901 ERROR [http-nio-8090-exec-8] [xhtml.view.macro.ViewMacroMarshaller] handleMacroExecutionException Error rendering macro: viewdoc
       -- url: /display/TT/test | page: 1998878 | traceId: b1461380347c5209 | userName: admin | referer: http://localhost:8090/pages/editpage.action?pageId=19
      98878 | action: viewpage
      java.lang.OutOfMemoryError: Java heap space
      

      Notes

      • Increasing the available memory the max allowed by the environment still causes the issue.
      • The problem is not encountered if a normal chart is used in the word document.
      • The problem word docs fairly small in size. Example of a doc that causes the issue:

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgomez@atlassian.com Manny
              Votes:
              13 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated: