Re: Calculating filterCache size

2014-06-25 Thread Benjamin Wiens
admit it's easy to miss that. I added a note about that though... Thanks for pointing that out! On Thu, Jun 19, 2014 at 9:38 AM, Benjamin Wiens benjamin.wi...@gmail.com wrote: Thanks to both of you. Yes the mentioned config is illustrative, we decided for 512 after thorough testing

Re: Calculating filterCache size

2014-06-19 Thread Benjamin Wiens
, Benjamin Wiens wrote: Thanks Erick! So let's say I have a config of filterCache class=solr.FastLRUCache size=1 initialSize=1 autowarmCount=5000/ MaxDocuments = 1,000,000 So according to your formula, filterCache should roughly have the potential to consume this much

Calculating filterCache size

2014-06-18 Thread Benjamin Wiens
Hi, I'm looking for a formula to calculate filterCache size in the RAM. The best estimation I can find is here http://stackoverflow.com/questions/2004/solr-filter-cache-fastlrucache-takes-too-much-memory-and-results-in-out-of-mem An index of 1.000.000 would thus take 12,5 GB in the RAM with

Re: Calculating filterCache size

2014-06-18 Thread Benjamin Wiens
the cache requirements will be close to ((maxDoc/8) + 128) * (size_defined_in_the_config_file), where 128 is an approximation of the storage necessary for the text of the fq clause. Best, Erick On Wed, Jun 18, 2014 at 8:00 AM, Benjamin Wiens benjamin.wi...@gmail.com wrote: Hi, I'm looking

Solr Filter Cache Size

2014-03-03 Thread Benjamin Wiens
How can we calculate how much heap memory the filter cache will consume? We understand that in order to determine a good size we also need to evaluate how many filterqueries would be used over a certain time period. Here's our setting: filterCache class=solr.FastLRUCache