From febf34030334920c522b29d422209e3712128005 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Wed, 30 Jun 2021 02:13:59 +0000 Subject: fix(tvl-sso): set memory limit to 512M 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 Reviewed-by: tazjin --- ops/modules/tvl-sso/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'ops') 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"; -- cgit 1.4.1