diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-09-04 16:49:17 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-09-06 08:50:53 +0200 |
commit | af6b51bbb485e53469bc523d3c1a0b2e97f2751e (patch) | |
tree | 5a4c6bae4187b2f89fd7ed1a3d129eec88d566e8 | |
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>
-rw-r--r-- | pom.xml | 4 | ||||
-rw-r--r-- | src/main/bin/start.sh | 4 | ||||
-rw-r--r-- | version.properties | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -33,7 +33,7 @@ <groupId>org.onap.aai</groupId> <artifactId>babel</artifactId> - <version>1.13.3-SNAPSHOT</version> + <version>1.13.4-SNAPSHOT</version> <packaging>jar</packaging> <name>aai-babel</name> @@ -733,7 +733,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.0.0-M4</version> + <version>3.0.0-M8</version> <configuration> <!-- Sets the VM argument line used when unit tests are run. --> <reuseForks>false</reuseForks> 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} |