You mentioned hat you are on v. 6.6, but in case someone else uses this, just 
to add that maxRamMB is added to FastLRUCache in version 6.4.

Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 23 Oct 2017, at 14:35, Zisis T. <zist...@runbox.com> wrote:
> 
> shamik wrote
>> I was not aware of maxRamMB parameter, looks like it's only available for
>> queryResultCache. Is that what you are referring to? Can you please share
>> your cache configuration?
> 
> I've setup filterCache entry inside solrconfig.xml as follows
> 
> *<filterCache class="solr.FastLRUCache" size="512" initialSize="512"
> autowarmCount="0" maxRamMB="120"/>*
> 
> I had a look inside FastLRUCache code and saw that maxRamMB has precedence
> over the size. I can also confirm that I had more than 512 entries inside
> the cache, so the above will work. 
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to