From e1c7af446f305394871d7ae32959c5540905f461 Mon Sep 17 00:00:00 2001 From: Khai Do Date: Mon, 28 Dec 2015 11:53:44 -0800 Subject: [PATCH] Allow java to allocate more memory for Gerrit We are seeing Gerrit spending lots of time garbage collecting due to low memory. Increase the memory to help avoid this problem. Memory recommendations from Collabnet[1]: "You should have at least <#Cores> GB size heap allocated for Gerrit. The largest repository on disk should fit in 1/4 of your heap. 32 GB per 1M daily requests is pretty common". [1] http://tinyurl.com/q2aw6ba Change-Id: I67adb239bcb689c2b8764047fd1afefe38911c70 --- modules/openstack_project/manifests/review.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/review.pp b/modules/openstack_project/manifests/review.pp index ae40d66b1e..4028945e8f 100644 --- a/modules/openstack_project/manifests/review.pp +++ b/modules/openstack_project/manifests/review.pp @@ -107,7 +107,7 @@ class openstack_project::review ( email => 'review@openstack.org', # 1 + 100 + 9 + 2 + 2 + 25 => 139(rounded up) database_poollimit => '150', - container_heaplimit => '8g', + container_heaplimit => '12g', core_packedgitopenfiles => '4096', core_packedgitlimit => '400m', core_packedgitwindowsize => '16k',