From af6b51bbb485e53469bc523d3c1a0b2e97f2751e Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 4 Sep 2024 16:49:17 +0200 Subject: Define -XX:MaxRAMPercentage in babel - 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 --- pom.xml | 4 ++-- src/main/bin/start.sh | 4 +++- version.properties | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 4f76eeb..b5b2f6a 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ org.onap.aai babel - 1.13.3-SNAPSHOT + 1.13.4-SNAPSHOT jar aai-babel @@ -733,7 +733,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M4 + 3.0.0-M8 false 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 diff --git a/version.properties b/version.properties index 776da6a..798f495 100644 --- a/version.properties +++ b/version.properties @@ -4,7 +4,7 @@ major=1 minor=13 -patch=3 +patch=4 base_version=${major}.${minor}.${patch} -- cgit 1.2.3-korg