Remove JiraLuceneFieldCache cache

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.6.2
    • Component/s: None
    • None

      We have a cache of lucene values in JiraLuceneFieldCache. Apparently this is not of much use, and it simply takes up memory (~280Mb of ~700 in a recent dump) - although it's a WeakHashMap so this memory would be reclaimed if necessary.

      So we should disable this cache. This can be done simply be commenting out line 157:

                      cache.put(reader, readerCache);

            Assignee:
            Scott Farquhar
            Reporter:
            Jeff Turner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m