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

Erick Erickson commented on SOLR-7372:
--------------------------------------

I like this a lot. even when people have correctly sized the cache at first, 
they can add docs and have problems. I can imagine someone wanting to monitor 
when this limit is tripped rather than size, is that possible via JMX?

Not asking you to add that, just wondering if it'd be easy some time in the 
future.

> Limit LRUCache by RAM usage
> ---------------------------
>
>                 Key: SOLR-7372
>                 URL: https://issues.apache.org/jira/browse/SOLR-7372
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: Trunk, 5.2
>
>         Attachments: SOLR-7372.patch
>
>
> Now that SOLR-7371 has made DocSet impls Accountable, we should add an option 
> to LRUCache to limit itself by RAM.
> I propose to add a 'maxRamBytes' configuration parameter which it can use to 
> evict items once the total RAM usage of the cache reaches this limit.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to