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.

          Form Name

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

            Maksym Fedoryshyh made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 695500 ]
            Maksym Fedoryshyh made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 670476 ]
            Maksym Fedoryshyh made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 656860 ]
            Maksym Fedoryshyh made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 656860 ]
            Maksym Fedoryshyh made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 570806 ]
            Usman Khalid (Inactive) made changes -
            Labels Original: affects-server enterprise enterprise-backlog sc scale-team searching/indexing New: affects-server enterprise sc scale-team searching/indexing
            Usman Khalid (Inactive) made changes -
            Labels Original: affects-server enterprise enterprise-backlog sc searching/indexing New: affects-server enterprise enterprise-backlog sc scale-team searching/indexing
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2876761 ] New: CONFSERVER Bug Workflow v4 [ 2983774 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2804451 ] New: JAC Bug Workflow v3 [ 2876761 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2736278 ] New: JAC Bug Workflow v2 [ 2804451 ]

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

                Created:
                Updated:
                Resolved: