lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: Solr Heap memory vs. OS memory
Date Wed, 13 Jan 2016 22:00:14 GMT
On 1/13/2016 2:25 PM, Oakley, Craig (NIH/NLM/NCBI) [C] wrote:
> Followup question:
>
> If one has multiple instances on the same host (a host running basically nothing except
multiple instances of Solr), then the values specified as -Xmx in the various instances should
add up to 25% of the RAM of the host...
>
> Is that correct?

Here comes the standard answer of anyone who works in technology:  It
depends.

When setting the max heap, you should set it as large as it needs to be,
and no larger.  Many factors will affect how much heap is required.

It is advisable to have much more memory installed in your server than
you need for your Java heap.  If you don't, Solr performance might be
unacceptable ... but this will depend on several factors, including the
size of your indexes.

This might be useful information:

https://wiki.apache.org/solr/SolrPerformanceProblems

Thanks,
Shawn


Mime
View raw message