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

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

Reply via email to