Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5278

Large deleted or added files can lead to OutOfMemoryError (OOME)

    XMLWordPrintable

Details

    Description

      In at least FishEye 3.4.3 and 3.5, a changeset containing the deletion of large files and also other changes, can lead to a diff being requests of SVN that includes the large files being deleted.

      A customer pointed out that this is most likely due to a change between SVN 1.6 and 1.7 whereby diffs for deletions are now included in diff results by default unless a --no-diff-deleted flag is included in the diff command.

      To reproduce, craft a commit with a directory where only the following files:

      • 1 very large deleted file, which is deleted
      • 2 normal files that are modified

      To be clear there can be as many deleted and modified files as you like, as long as there are more modifications than deletions. This is required to trigger a bulk-diff as opposed to a file-by-file diff.

      Note that any exclusions in the directory will also trigger a file-by-file diff and avoid the bug.

      Attachments

        Activity

          People

            don.willis@atlassian.com Don Willis
            don.willis@atlassian.com Don Willis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: