You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/10/12 14:23:20 UTC

[jira] [Updated] (SOLR-9633) Limit FastLRUCache by RAM Usage

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

Shalin Shekhar Mangar updated SOLR-9633:
----------------------------------------
    Attachment: SOLR-9633.patch

First cut. This is slightly different than the impl for LRUCache because it completely ignores sizes when maxRamMB is specified. (We should probably throw an exception in that case than ignoring). Also the eviction logic is not as optimized as the one for the size based policy.

> Limit FastLRUCache by RAM Usage
> -------------------------------
>
>                 Key: SOLR-9633
>                 URL: https://issues.apache.org/jira/browse/SOLR-9633
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Shalin Shekhar Mangar
>             Fix For: 6.3, master (7.0)
>
>         Attachments: SOLR-9633.patch
>
>
> SOLR-7372 added a maxRamMB parameter to LRUCache to evict items based on memory usage. That helps with the query result cache but not with the filter cache which defaults to FastLRUCache. This issue intends to add the same feature to FastLRUCache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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