Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4995

Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.4, 6.0
    • None
    • None
    • New

    Description

      CompressingStoredFieldsReader has a strong reference on the buffer it uses for decompression. Although it makes the reader able to reuse this buffer, this can trigger high memory usage in case some documents are very large. Creating this buffer on demand would help give memory back to the JVM.

      Attachments

        1. cpuGraph_4995Patch.jpg
          40 kB
          Aditya
        2. heapGraph_4995Patch.jpg
          261 kB
          Aditya
        3. LUCENE-4995.patch
          1 kB
          Adrien Grand
        4. LUCENE-4995.patch
          1 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: