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

IndexWriter does not properly account for the RAM consumed by pending deletes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.4.1
    • Fix Version/s: 2.9
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      IndexWriter, with autoCommit false, is able to carry buffered deletes for quite some time before materializing them to docIDs (thus freeing up RAM used).

      It's only on triggering a merge (or, commit/close) that the deletes are materialized and the RAM is freed.

      I expect this in practice is a smallish amount of RAM, but we should still fix it.

      I don't have a patch yet so if someone wants to grab this, feel free!!

        Attachments

        1. BufferedDeletes_beautification.patch
          0.6 kB
          Simon Willnauer
        2. LUCENE-1717.patch
          12 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: