Take a look at https://wiki.apache.org/solr/SolrPerformanceProblems. The section "how much heap do i need" talks about that. Cache also goes to JVM so take a look how much you need/allocating for different cache's.
Thnx On Tue, May 1, 2018 at 7:33 PM, Greenhorn Techie <greenhorntec...@gmail.com> wrote: > Hi, > > Wondering what are the considerations to be aware to arrive at an optimal > heap size for Solr JVM? Though I did discuss this on the IRC, I am still > unclear on how Solr uses the JVM heap space. Are there any pointers to > understand this aspect better? > > Given that Solr requires an optimally configured heap, so that the > remaining unused memory can be used for OS disk cache, I wonder how to best > configure Solr heap. Also, on the IRC it was discussed that having 31GB of > heap is better than having 32GB due to Java’s internal usage of heap. Can > anyone guide further on heap configuration please? > > Thanks >