diff options
author | Quentin Dufour <quentin@dufour.io> | 2021-02-01 07:48:50 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@dufour.io> | 2021-02-01 07:48:50 +0100 |
commit | cb69a1123cc36c792cb0993ae46c3700a7391a62 (patch) | |
tree | 02845fb5b4e8216875942dba0e4c949fc87cc5ed /app/jitsi/build/jitsi-conference-focus/jicofo | |
parent | c2960f75b7725e19e5c9366268fd8664ffc5fcac (diff) | |
download | infrastructure-cb69a1123cc36c792cb0993ae46c3700a7391a62.tar.gz infrastructure-cb69a1123cc36c792cb0993ae46c3700a7391a62.zip |
Stabilize build scripts
Diffstat (limited to 'app/jitsi/build/jitsi-conference-focus/jicofo')
-rwxr-xr-x | app/jitsi/build/jitsi-conference-focus/jicofo | 7 |
1 files changed, 6 insertions, 1 deletions
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 \ |