Merge pull request #103 from overleaf/sk-max-ram-percentage

Switch to UseContainerSupport and MaxRAMPercentage
This commit is contained in:
Shane Kilkelly 2021-06-16 17:24:46 +01:00 committed by GitHub
commit 90375f9517

View file

@ -1,3 +1,3 @@
#!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json
exec java -Xms512m -Xmx3072m -jar /git-bridge.jar /conf/runtime.json
exec java -XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -jar /git-bridge.jar /conf/runtime.json