From 6bcfa3c4c0028e26032b8f6cdbb2cba50d2e55bb Mon Sep 17 00:00:00 2001 From: pasindu Date: Wed, 5 Jun 2024 20:10:49 +0530 Subject: [PATCH] Modify Xms and Xsx --- .../target/entgra-switchgear-1.0.8-SNAPSHOT/bin/iot-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/switchgear/entgra-switchgear/target/entgra-switchgear-1.0.8-SNAPSHOT/bin/iot-server.sh b/switchgear/entgra-switchgear/target/entgra-switchgear-1.0.8-SNAPSHOT/bin/iot-server.sh index 6efcbf5..c4dbea9 100755 --- a/switchgear/entgra-switchgear/target/entgra-switchgear-1.0.8-SNAPSHOT/bin/iot-server.sh +++ b/switchgear/entgra-switchgear/target/entgra-switchgear-1.0.8-SNAPSHOT/bin/iot-server.sh @@ -297,7 +297,7 @@ status=$START_EXIT_STATUS if [ -z "$JVM_MEM_OPTS" ]; then java_version=$("$JAVACMD" -version 2>&1 | awk -F '"' '/version/ {print $2}') - JVM_MEM_OPTS="-Xms256m -Xmx1024m" + JVM_MEM_OPTS="-Xms4096m -Xmx6144m" if [ "$java_version" \< "1.8" ]; then JVM_MEM_OPTS="$JVM_MEM_OPTS -XX:MaxPermSize=256m" fi