lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Wartes <>
Subject Re: Solr 5.2.1 on Java 8 GC
Date Thu, 28 Apr 2016 17:02:40 GMT

Shawn Heisey’s page is the usual reference guide for GC settings:
Most of the learnings from that are in the Solr 5.x startup scripts already, but your heap
is bigger, so your mileage may vary.

Some tools I’ve used while doing GC tuning:

* VisualVM - Comes with the jdk. It has a Visual GC plug-in that’s pretty nice for visualizing
what’s going on in realtime, but you need to connect it via jstatd for that to work.
* GCViewer - Visualizes a GC log. The UI leaves a lot to be desired, but it’s the best tool
I’ve found for this purpose. Use this fork for jdk 6+ -
* Swiss Java Knife has a bunch of useful features -
* YourKit - I’ve been using this lately to analyze where garbage comes from. It’s not
free though. 
* Eclipse Memory Analyzer - I used this to analyze heap dumps before I got a YourKit license:

Good luck!

On 4/28/16, 9:27 AM, "Yonik Seeley" <> wrote:

>On Thu, Apr 28, 2016 at 12:21 PM, Nick Vasilyev
><> wrote:
>> Hi Yonik,
>> There are a lot of logistics involved with re-indexing and naturally
>> upgrading Solr. I was hoping that there is an easier alternative since this
>> is only a single back end script that is having problems.
>> Is there any room for improvement with tweaking GC params?
>There always is ;-)  But I'm not a GC tuning expert.  I prefer to
>attack memory problems more head-on (i.e. with code to use less
View raw message