Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-10512

Index optimization produce an OutOfMemoryError due to large textual attachments

    XMLWordPrintable

    Details

      Description

      This issue is a duplicate of CONF-8989 which has been marked as resolved, but the patch has never been integrated into Confluence and therefore I created this new issue.

      Confluence currently stores the entire contents of textual attachments (like word, txt and powerpoint documents) in the search index. This is done mainly to produce excerpts that display in search results.

      During index optimization the bodies of attachment are read from the disk into memory in bulk (meaning a block of memory equal to the size of all indexed & stored attachments is requested from the heap). With enough large attachments, the JVM will be asked for a large block of heap it cannot allocate and an OutOfMemoryError is produced.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cbroadfoot Chris Broadfoot [Atlassian]
              Reporter:
              jens@atlassian.com Jens Schumacher
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: