lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1513) Use Google Collections in ConcurrentLRUCache
Date Fri, 16 Oct 2009 00:54:31 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766356#action_12766356
] 

Jason Rutherglen commented on SOLR-1513:
----------------------------------------

I've tuned down my caches to not deal with OOMs and swapping.  I'd rather the cache simply
remove values before swapping or OOMs.  

I think it would simply be an option, which I'd personally always have on! 

> Use Google Collections in ConcurrentLRUCache
> --------------------------------------------
>
>                 Key: SOLR-1513
>                 URL: https://issues.apache.org/jira/browse/SOLR-1513
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: 1.5
>
>
> ConcurrentHashMap is used in ConcurrentLRUCache.  The Google Colletions concurrent map
implementation allows for soft values that are great for caches that potentially exceed the
allocated heap.  Though I suppose Solr caches usually don't use too much RAM?
> http://code.google.com/p/google-collections/

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


Mime
View raw message