When indexing larger attachments, it would benefit our clients greatly if we checked the size of attachment before indexing same. In other words, when an attachment is too large, instead of attempting the indexing, bail earlier if the attachment is too large.

      System property atlassian.indexing.contentbody.maxsize is meant to provide this functionality, however has been reported not to be working.

      Workaround

      As of 5.9 there is 'canary' functionality in the Office Connector that will abort indexing on large documents if they would cause an OutOfMemory error. More details can be found here.

      NB: The canary is now enabled by default and does not require a dark feature.

            [CONFSERVER-40914] Check size of attachment before content indexing

            No work has yet been logged on this issue.

              mfedoryshyn Maksym Fedoryshyh
              ctalk chucktalk (Inactive)
              Affected customers:
              7 This affects my team
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: