Re: How much JVM should we allocate

2016-01-29 Thread Jack Krupansky
Ultimately, your JVM heap size will likely be somewhere in the 4GB to 12GB range. Alas, you have to use trial and error to size it. If it's too small you will hit OOM or performance degradation due to frequent GC. If it's too large you will accumulate way too much garbage before a GC hits and then

Re: How much JVM should we allocate

2016-01-29 Thread Erick Erickson
And adding to Shawn's comment you want to have as little JVM as possible, see: http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html Best, Erick On Fri, Jan 29, 2016 at 5:02 AM, Shawn Heisey wrote: > On 1/28/2016 10:24 PM, Midas A wrote: >> CPU : 4 >> physical memory : 48 GB >>

Re: How much JVM should we allocate

2016-01-29 Thread Shawn Heisey
On 1/28/2016 10:24 PM, Midas A wrote: > CPU : 4 > physical memory : 48 GB > > > and we are only have solr on this server . How much JVM can be allocate to > run server smoothly. We don't know. You haven't provided any information about your index or how you use it. Even if you do provide that i

How much JVM should we allocate

2016-01-28 Thread Midas A
Hi , CPU : 4 physical memory : 48 GB and we are only have solr on this server . How much JVM can be allocate to run server smoothly. Regards, Abhishek Tiwari