[
https://issues.apache.org/jira/browse/SOLR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766352#action_12766352
]
Yonik Seeley commented on SOLR-1513:
------------------------------------
bq. Though I suppose Solr caches usually don't use too much RAM?
lol - you're kidding right?
Anyway, I think some sort of soft reference implementation beyond a certain
size is a great idea. Not sure if it's right as a default setting or not, but
there are certainly scenarios that could benefit from the option.
> 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.