G1 with Solr - thread from dev at lucene.apache.org

Shawn Heisey java at elyograg.org
Tue Dec 23 17:46:27 UTC 2014


On 12/21/2014 7:01 AM, Thomas Schatzl wrote:
>
> Add
>
> -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintReferenceGC -XX:
> +PrintAdaptiveSizePolicy

I have GC logging options in a separate environment variable.

GCLOG_OPTS="-verbose:gc -Xloggc:logs/gc.log -XX:+PrintGCDateStamps 
-XX:+PrintGCDetails -XX:+PrintAdaptiveSizePolicy -XX:+PrintReferenceGC"

Here's the new G1 options list based on your feedback:

JVM_OPTS=" \
-XX:+UseG1GC \
-XX:NewRatio=3 \
-XX:+ParallelRefProcEnabled
-XX:maxGCPauseMillis=200
-XX:+UseLargePages \
-XX:+AggressiveOpts \
"

Thanks,
Shawn



More information about the hotspot-gc-use mailing list