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

David Smiley commented on SOLR-13003:
-------------------------------------

I think the lesson here is: for caches with components where the key or value 
is not Accountable, we should generate an error if you try to size the cache 
based on the memory size since we can't compute it..

> Query Result Cache does not honour maxRamBytes parameter
> --------------------------------------------------------
>
>                 Key: SOLR-13003
>                 URL: https://issues.apache.org/jira/browse/SOLR-13003
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.3.1
>            Reporter: Cetra Free
>            Priority: Major
>         Attachments: CLRU-logging.patch, lrucacheexpanded.png, 
> lrucachemaxmb.png, solr-core-7.3.1-SNAPSHOT.jar, solrconfig.xml
>
>
> When using the maxRamBytes parameter with the queryResultCache directive, we 
> have seen the retained size of the cache orders of magnitude larger than what 
> is configured.
> Please see attached VisualVM output which shows the retained size is about 
> 1.5gb, but the maxRamBytes is set to 64mb.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to