On 7/18/2018 8:31 AM, THADC wrote:
Thanks for the reply. I read the link you provided. I am currently not
specifying a heap size with solr so my understanding is that by default it
will just grow automatically. If I add more physical memory to the VM
without doing anything with heap size, won't that possibly fix the problem?

No, that is not how it works.  If Java is not given a heap size, then it will choose the heap size for you based on how much memory the machine has and its own internal algorithms, and limit itself to that amount.

Solr 5.0 and later, when started using the included scripts, asks Java for a 512MB heap by default.  This is an extremely small heap.  Nearly all Solr users must increase the heap size beyond 512MB.

Thanks,
Shawn

Reply via email to