On 5/9/2016 9:11 PM, lltvw wrote:
> You are right, the max heap is 512MB, thanks.

90 million documents split into 12 shards means 7.5 million documents
per shard.

With that many documents and a 512MB heap, you're VERY lucky if Solr
doesn't experience OutOfMemoryError problems -- which will make Solr's
behavior very unpredictable.

Your server has plenty of memory.  Because of the very small max heap,
it is probably spending a lot of time doing garbage collection.  You'll
actually need to *increase* your heap size.  I would recommend starting
with 4GB.

Exactly how to do this will depend on how you're starting it.  If you
are starting it with "bin/solr" then you can add a -m 4g option to that
commandline.

Thanks,
Shawn

Reply via email to