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

Remove the strong reference of CompressingStoredFieldsReader on the decompression buffer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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. LUCENE-4995.patch
          1 kB
          Adrien Grand
        2. LUCENE-4995.patch
          1 kB
          Adrien Grand
        3. heapGraph_4995Patch.jpg
          261 kB
          Aditya
        4. cpuGraph_4995Patch.jpg
          40 kB
          Aditya

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: