Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10111

Remove JiraLuceneFieldCache cache

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 3.6.2
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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);

              scott@atlassian.com Scott Farquhar
              7ee5c68a815f 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