Details

      Description

      Every time a commit happens two Stats instances [org.apache.solr.common.util.ConcurrentLRUCache.Stats] are leaking.

      Following code [org.apache.solr.search.FastLRUCache] to maintain cumulative cache statistics causing this Stats object leak.

          cumulativeStats = (List<ConcurrentLRUCache.Stats>) persistence;
          cumulativeStats.add(cache.getStats());
      

      Everytime a commit happens a new cache object is getting created and its stats is added to the list which is not released at all.

        Attachments

        1. SOLR-1798.patch
          0.4 kB
          Yonik Seeley
        2. SOLR-1798.patch
          4 kB
          Yonik Seeley

          Activity

            People

            • Assignee:
              yseeley@gmail.com Yonik Seeley
              Reporter:
              lakshman Laxman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: