about summary refs log tree commit diff
path: root/ops/modules
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-06-30T02·13+0000
committertazjin <mail@tazj.in>2021-08-24T16·28+0000
commitfebf34030334920c522b29d422209e3712128005 (patch)
tree5b5d15b5dd01c05aeb59286d310eea83d7eb7fc1 /ops/modules
parent330b7067a0d63de38bc9e1cbf51306552c49f65e (diff)
fix(tvl-sso): set memory limit to 512M r/2758
This is because I'm bored of CAS gradually consuming all the RAM on Whitby.

Change-Id: Idcc14c19d99a6d3553739c5765be3faf2bdf9d84
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3233
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/modules')
-rw-r--r--ops/modules/tvl-sso/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/modules/tvl-sso/default.nix b/ops/modules/tvl-sso/default.nix
index d026c1e7c9ad..8b413114cc69 100644
--- a/ops/modules/tvl-sso/default.nix
+++ b/ops/modules/tvl-sso/default.nix
@@ -10,6 +10,7 @@ in {
       description = "Apereo CAS Single Sign On server";
       wantedBy = [ "multi-user.target" ];
       after = [ "network.target" ];
+      environment.JDK_JAVA_OPTIONS = "-Xmx512M -Xms512M";
       serviceConfig = {
         User = "apereo-cas";
         Group = "apereo-cas";