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

Static field memory counting and enumset fields

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 4.0, 6.0
    • None
    • None
    • New

    Description

      The problem is that fields that point to classes go and collect the size recursively. On IBM a class object contains LOTS of references so it goes up to megabytes for a single enumset.

      Another issue is that we count the same objects multiple times if they show up again referenced from different fields – we should be counting them once only.

      A temporary fix is to exclude enumsets from being counted.

      Attachments

        Activity

          People

            dweiss Dawid Weiss
            dweiss Dawid Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: