Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-265

Restrict file size hook consumes large amount of heap space when excluding large LFS files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.1.8
    • 5.3.8
    • None
    • None

    Description

      When large files are pushed with the restrict file size hook in place and excluding LFS files, a large amount of heap space is consumed.

      This is due to use checking the file content to see if it's an LFS file.

      We should instead read the file in line by line instead to see if it's an LFS file.

      Attachments

        Activity

          People

            amarkham Adam Markham
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: