aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/bin')
-rw-r--r--src/main/bin/start.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh
index d68d6c8..4d9912d 100644
--- a/src/main/bin/start.sh
+++ b/src/main/bin/start.sh
@@ -53,6 +53,8 @@ if [ ! -z "$SERVER_CERTS_LOCATION" ]; then
fi
PROPS="${PROPS} -Dspring.profiles.active=${SPRING_PROFILES_ACTIVE}"
PROPS="${PROPS} -Daaf.cadi.file=${CONFIG_HOME}/cadi.properties"
+PROPS="${PROPS} -Daaf.cadi.file=${CONFIG_HOME}/cadi.properties"
-exec java ${JVM_OPTS} ${PROPS} -jar ${APP_HOME}/babel*.jar
+JVM_OPTS="${JVM_OPTS} -XX:MaxRAMPercentage=${MAX_RAM_PERCENTAGE:-60}"
+exec java ${JVM_OPTS} ${PROPS} -jar ${APP_HOME}/babel*.jar