Reduce gerrit heap limit to 44g

We had been setting this to 48GB on java 8, but recent gerrit service
issues indicate that this may be too large for our current system on
java 11. In particular it appears the non heap portions of the jvm may
be in the ~8GB range leaving only about 5-6GB of usable system memory
for other activities like web servers, backups, and garbage collection.

Reduce this to 44GB to increase headroom to see if that helps us. Java
11 is reported to be much more efficient at garbage collecting so
hopefully that makes up the difference between lower memory and where we
were on java 8. As a side note we could revert back to java 8 as another
option.

Change-Id: Ie326aad2a9895098b484924a26c9257cd009d89e
This commit is contained in:
Clark Boylan 2020-12-08 07:31:53 -08:00
parent d7b726140d
commit 95d9b83814
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ gerrit_replication: []
gerrit_storyboard_url: https://storyboard.openstack.org
gerrit_vhost_name: review-test.opendev.org
gerrit_serverid: adf32efa-43c9-4163-b047-c4449d8997da
gerrit_heap_limit: 48g
gerrit_heap_limit: 44g
gerrit_track_upstream: false
letsencrypt_certs:
review-test-opendev-org-main:

View File

@ -59,7 +59,7 @@ gerrit_storyboard_url: https://storyboard.openstack.org
gerrit_vhost_name: review.opendev.org
gerrit_serverid: 4a232e18-c5a9-48ee-94c0-e04e7cca6543
gerrit_redirect_vhost: review.openstack.org
gerrit_heap_limit: 48g
gerrit_heap_limit: 44g
letsencrypt_certs:
review01-opendev-org-main:
- review.opendev.org