From cb69a1123cc36c792cb0993ae46c3700a7391a62 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 1 Feb 2021 07:48:50 +0100 Subject: Stabilize build scripts --- app/jitsi/build/jitsi-conference-focus/jicofo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/jitsi/build/jitsi-conference-focus/jicofo') diff --git a/app/jitsi/build/jitsi-conference-focus/jicofo b/app/jitsi/build/jitsi-conference-focus/jicofo index 2225e98..344b293 100755 --- a/app/jitsi/build/jitsi-conference-focus/jicofo +++ b/app/jitsi/build/jitsi-conference-focus/jicofo @@ -2,8 +2,13 @@ update-ca-certificates -f +if [ -z "${JICOFO_MEMORY}" ]; then + echo "You must set the env variable 'JICOFO_MEMORY'. eg. JICOFO_MEMORY=3072m" + exit 1 +fi + exec java \ - -Xmx400m \ + -Xmx${JICOFO_MEMORY} \ -XX:+HeapDumpOnOutOfMemoryError \ -XX:HeapDumpPath=/tmp \ -Djdk.tls.ephemeralDHKeySize=2048 \ -- cgit v1.2.3