about summary refs log tree commit diff
path: root/ops/nixos/monorepo-gerrit.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-11T00·35+0100
committertazjin <mail@tazj.in>2020-07-11T01·00+0000
commit5de644a5972613f9600585ce152a49076370d2c2 (patch)
treefe01f884551fa6466d46f28e23a5059ad629e4ab /ops/nixos/monorepo-gerrit.nix
parenta8c77b9c2aea361baf81a93ee446ab8151a57ce1 (diff)
chore(monorepo-gerrit): Increase Gerrit's heap limit to 4g r/1254
(this translates to -Xmx)

Change-Id: I31bbbd247952fa6a592cb66ad144025af640d2db
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1021
Tested-by: BuildkiteCI
Reviewed-by: isomer <isomer@tvl.fyi>
Diffstat (limited to 'ops/nixos/monorepo-gerrit.nix')
-rw-r--r--ops/nixos/monorepo-gerrit.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix
index 577cf7922c5f..1595f5834605 100644
--- a/ops/nixos/monorepo-gerrit.nix
+++ b/ops/nixos/monorepo-gerrit.nix
@@ -23,6 +23,8 @@ in {
 
     package = config.depot.third_party.gerrit;
 
+    jvmHeapLimit = "4g";
+
     settings = {
       core.packedGitLimit = "100m";
       log.jsonLogging = true;