You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/10/26 14:43:00 UTC

[jira] [Resolved] (SOLR-15878) Memory leak in QueryResultsCache

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

Kevin Risden resolved SOLR-15878.
---------------------------------
    Resolution: Duplicate

duplicate of SOLR-15879

> Memory leak in QueryResultsCache
> --------------------------------
>
>                 Key: SOLR-15878
>                 URL: https://issues.apache.org/jira/browse/SOLR-15878
>             Project: Solr
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 7.5
>            Reporter: Harish Kumar Murugesan
>            Priority: Major
>
> There is a leak in memory observed when we set _maxRamMB_ parameter in QueryResultsCache. In our cache we have set the below configuration:
> _<queryResultCache class="solr.FastLRUCache"   size="5000"  initialSize="512" maxRamMB="1048" autowarmCount="0"/>_
> The number of elements in the cache grown upto 320K in count and the size of the cache also went upto 9GB. Only inserts were happening to the cache and no evictions observed in the cache. Cache was not getting controlled by both size and maxRamMB parameters. If we remove maxRamMB parameter and set only the size parameter then the QueryResultsCache is not growing beyond the limit set in size parameter. This is observed in SOLR 7.5 version. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org