Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
6.7.3, 6.13.3, 6.15.1, 6.15.9
-
14
-
Severity 3 - Minor
-
2
-
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
- Create a Word Document and embed an Excel chart with a logarithmic scale.
- Upload file as an attachment to any Confluence Space (this alone will not cause the issue)
- Use the View Doc (Word ver) macro to display (not link) the Word Document on any page
- 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