Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7052

Active deletion purge can OOM if number of blobs listed in a file become too large

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.14, 1.8.0
    • lucene
    • None

    Description

      Actively deletion, while purging, reads blob ids from a file using FileUtils#readLines. That method returns a list, while we only require to iterate over the file contents line-by-line.

      We should probably switch to FileUtils#lineIterator to clearly declare our intent to read line by line.

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: