You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Satya Nand kanodia <sa...@gmail.com> on 2019/01/24 08:17:11 UTC

How to estimate Java Heap Requirement for solr.

Hi,

I have a Solr instance having 6 cores. I have given -Xms1024m -Xmx16g heap
memory to it.


*Cores have the following number of documents in it.*
1. 86,31,043
2. 6,59,61,263
3. 4,55,31,492
4. 21,10,087
5. 1,14,477
6. 33,397


*I have following cache configuration.*
<filterCache class="solr.FastLRUCache" size="4000" initialSize="2000"
autowarmCount="100" />

  <queryResultCache class="solr.LRUCache" size="10000" initialSize="1000"
autowarmCount="100" />

 <documentCache class="solr.LRUCache" size="25000" initialSize="512"
autowarmCount="512" />


My question is if the heap size given by me is okay? If not what should be
the required heap size?