On 5/24/2019 9:02 AM, sajitmk wrote:


Im trying to use G1GC garbage collection with Apache Solr 7.7 I've set the
variable GC_TUNE as follows

GC_TUNE="-XX:+UseG1GC -XX:+UseStringDeduplication" in
/etc/default/solr.in.sh

However, the solr process still seems to be using CMS
-XX:+UseConcMarkSweepGC

What is the precise command you're using to restart Solr?

Assuming that you have used the service installer script included with Solr to get it installed, if the service is named something besides "solr" then the filename to edit will not be /etc/default/solr.in.sh ... for a service named "solr7" it will be /etc/default/solr7.in.sh instead.

If that information isn't helpful, you may need to share the actual init script from your system.

Thanks,
Shawn

Reply via email to