On Sun, 2015-08-23 at 23:48 -0700, Pavel Hladik wrote: > we have a Solr 5.2.1 with 9 cores and one of them has 140M docs. Can you > please recommend tuning of those GC parameters? The performance is not a > issue, sometimes during peaks we have OOM and we use 50G of heap memory, the > server has 64G of ram.
When the heap is >= 32GB, the pointer size increases. You do not get much more memory from 50GB, compared to 31GB: https://blog.codecentric.de/en/2014/02/35gb-heap-less-32gb-java-jvm-memory-oddities/ If your OOMs are correlated to a high amount of traffic, I guess that you are running a lot of requests in parallel. Have you considered using a queue instead? If you currently use hundreds of parallel requests to a single machine, chances are you will get higher throughput by limiting that. As a bonus, it will require less heap. - Toke Eskildsen, State and University Library, Denmark