RE: Solr GC tuning Advice

2021-06-30 Thread Webster Homer
be leading to our memory issues? What would cause this? -Original Message- From: Shawn Heisey Sent: Thursday, June 24, 2021 2:54 PM To: users@solr.apache.org Subject: Re: Solr GC tuning Advice [WARNING - EXTERNAL EMAIL] Do not open links or attachments unless you recognize the sender

Re: Solr GC tuning Advice

2021-06-24 Thread David R
Run jstat on your jvm and watch the activity on the newgen and oldgen, I think I ran it via jstat --gccause, but there are many options. You may have to run jstatd You can resize newgen and oldgen maximum sizes independent of the default - I had to do this, and you can up the number of cleaning

Re: Solr GC tuning Advice

2021-06-24 Thread Shawn Heisey
On 6/24/2021 8:55 AM, Webster Homer wrote: SOLR_JAVA_MEM="-Xms32768m -Xmx32768m" Change "32768m"  to "31g".  You'll actually have MORE heap available at 31GB than at 32GB.  Screwy, I know.  It's because at 32GB, Java has to use 64-bit pointers.  Below that, it can use 32-bit. On several po