[
https://issues.apache.org/jira/browse/SOLR-13003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16694134#comment-16694134
]
Cetra Free commented on SOLR-13003:
-----------------------------------
I've added in this expanded cache line as as screenshot.
My suspicion is that the RAM amount used is not calculated correctly which is
what is causing this issue.
I couldn't find any way to validate that the returned
{{Accountable.ramBytesUsed()}} size is accurate for the cache type
({{SolrCache<QueryResultKey,DocList>}}).
The config for caches is as follows (I've attached the full config to this
ticket):
{code:xml}
<filterCache class="solr.FastLRUCache" maxRamMB="64" />
<queryResultCache class="solr.FastLRUCache" maxRamMB="64" />
<documentCache class="solr.FastLRUCache" size="512" initialSize="512" />
{code}
> 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: lrucacheexpanded.png, lrucachemaxmb.png, 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: [email protected]
For additional commands, e-mail: [email protected]