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

Previewing Excel files with thousands of rows and/or columns can result in OutOfMemoryError

    XMLWordPrintable

Details

    Description

      Some grids can be so large they result in OOMs with stacktraces like these:

      javax.servlet.ServletException: Servlet execution threw an exception
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)

      caused by: java.lang.OutOfMemoryError: Java heap space
      at com.opensymphony.module.sitemesh.html.util.CharArray.grow(CharArray.java:267)

      An approach to deal with this could be to have limits on how many cells we are prepared to deal with per file. This is a rare case at the moment, it only seems to occur on degenerate files, so it is for now classified as minor bug.

      Attachments

        Issue Links

          Activity

            People

              xtjhin Joshua Tjhin (Inactive)
              pfragemann Per Fragemann [Atlassian]
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: