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
This commit is contained in:
Khai Do 2015-12-28 11:53:44 -08:00
parent f1bab0670e
commit e1c7af446f

View File

@ -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',