lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1798) Memory leak in FastLRUCache
Date Fri, 28 May 2010 03:18:37 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man updated SOLR-1798:
---------------------------

    Fix Version/s: 3.1
                   4.0



Correcting Fix Version based on CHANGES.txt, see this thread for more details...

http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E


> Memory leak in FastLRUCache
> ---------------------------
>
>                 Key: SOLR-1798
>                 URL: https://issues.apache.org/jira/browse/SOLR-1798
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.4, 1.5
>            Reporter: Laxman
>            Assignee: Yonik Seeley
>             Fix For: 1.5, 3.1, 4.0
>
>         Attachments: SOLR-1798.patch, SOLR-1798.patch
>
>
> 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. 
> {noformat}
>     cumulativeStats = (List<ConcurrentLRUCache.Stats>) persistence;
>     cumulativeStats.add(cache.getStats());
> {noformat}
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message