Switch to UseContainerSupport and MaxRAMPercentage

This commit is contained in:
Shane Kilkelly 2021-06-16 17:13:16 +01:00
parent 8a68c3aef0
commit ed3507977b

View file

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json /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