Merge pull request #104 from overleaf/sk-memory-limit-50

Reduce memory limit to 50 percent
This commit is contained in:
Shane Kilkelly 2021-06-17 14:47:55 +01:00 committed by GitHub
commit fe27b4b729

View file

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