diff options
author | 2024-09-04 16:49:17 +0200 | |
---|---|---|
committer | 2024-09-06 08:50:53 +0200 | |
commit | af6b51bbb485e53469bc523d3c1a0b2e97f2751e (patch) | |
tree | 5a4c6bae4187b2f89fd7ed1a3d129eec88d566e8 /src/main | |
parent | 0fbe8beef850049265df0c5d505b1f8026ef8e45 (diff) |
Define -XX:MaxRAMPercentage in babel1.13.4
- define MaxRAMPercentage and set it to 60 percent [0]
- bump snapshot versino
[0] the default RAM utilisation of jdk 11 is 25%
Issue-ID: AAI-3985
Change-Id: I6fe9f72b332b7a1974691b2b9b32e4e9095db629
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/bin/start.sh | 4 |
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 |