JRE is 1.8.0.121 running on redhat e7(.2) linux-x86_64 glibc 2.17, though the OS hasn't changed since 2.13 days. We have other identical servers which have not (so far) exhibited this problem, though they tend to be slightly less onerous.
We don't actually have any java gc logging enabled (not having had a problem with it before, so we'll add that for future) - I presume Gerrit doesn't start with any auto-logging, I don't , however if the gc had caused "stop the world", surely the Gerrit UI and http cloning and REST would all die too?
We haven't increased the packedGitLimit very much, 50M, I think default is 10? This was done a long time ago. We throw 1GB of memory at each of the various group caches after being tipped off that this made the groups search/view less depressingly slow (and that worked). Otherwise we haven't really tinkered with any of the default settings. The max memory is largely just because we have a small number of very large badly behaved repositories that can cause high memory usage which would cause gerrit to completely lock in the past.
So on that note, I am definitely interested in any thoughts on variables to tweak