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 <grfn@gws.fyi>
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Luke Granger-Brown 2021-06-30 02:13:59 +00:00 committed by tazjin
parent 330b7067a0
commit febf340303

View file

@ -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";