From a7e65971f044574420901376830b0d039f3891f2 Mon Sep 17 00:00:00 2001 From: gengjun-git Date: Tue, 23 May 2023 20:21:44 +0800 Subject: [PATCH] [Enhancement] Change xml in start_fe to 8G (#23604) If there are some Illegal characters in the fe.conf, the JAVA_OPTS will be read in the start_fe.sh, but the Xmx in start_fe.sh is 1G, which will cause OOM. Set Xmx in start_fe.sh to 8G. Signed-off-by: gengjun-git --- bin/start_fe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start_fe.sh b/bin/start_fe.sh index 62d73600bacd53..85025cd07cd550 100755 --- a/bin/start_fe.sh +++ b/bin/start_fe.sh @@ -60,7 +60,7 @@ source $STARROCKS_HOME/bin/common.sh # JAVA_OPTS # LOG_DIR # PID_DIR -export JAVA_OPTS="-Xmx1024m" +export JAVA_OPTS="-Xmx8g" export LOG_DIR="$STARROCKS_HOME/log" export PID_DIR=`cd "$curdir"; pwd`