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

Using many fields in filters, sorts causes OOM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 7.0
    • core/search
    • None
    • New, Patch Available

    Description

      I have an index with ~1M documents, and many uniquely named fields. Each document only has a few fields populated, but there is a large set of dynamic fields across all docs. In other words, theres many sparse fields.

      Eventually the jvm will fall over due to OOM errors, because lucene's fieldCache grows without bounds. Adding more heap does not help.

      Attachments

        1. FieldCacheLimitPatch.patch
          7 kB
          Des Lownds

        Issue Links

          Activity

            People

              Unassigned Unassigned
              des.lownds Des Lownds
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: