Using G1 with Apache Solr

Kamran Khawaja narmak101 at gmail.com
Tue Mar 24 21:48:51 UTC 2015


I'm running Solr 4.7.2 with Java 7u75 with the following JVM params:

-verbose:gc
-XX:+PrintGCDateStamps
-XX:+PrintGCDetails
-XX:+PrintAdaptiveSizePolicy
-XX:+PrintReferenceGC
-Xmx3072m
-Xms3072m
-XX:+UseG1GC
-XX:+UseLargePages
-XX:+AggressiveOpts
-XX:+ParallelRefProcEnabled
-XX:G1HeapRegionSize=8m
-XX:InitiatingHeapOccupancyPercent=35


What I'm currently seeing is that many of the gc pauses are under an
acceptable 0.25 seconds but seeing way too many full GCs with an average
stop time of 3.2 seconds.

You can find the gc logs here:
https://www.dropbox.com/s/v04b336v2k5l05e/g1_gc_7u75.log.gz?dl=0

I initially tested without specifying the HeapRegionSize but that resulted
in the "humongous" message in the gc logs and a ton of full gc pauses.

Any pointers or areas to further investigate would be appreciated.


Thanks,
--
Kam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20150324/ee9efbba/attachment.html>


More information about the hotspot-gc-use mailing list