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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4, 2.4.1
    • 2.9
    • None
    • None
    • 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

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: