Skip to content

Commit

Permalink
[Enhancement] Change xml in start_fe to 8G (#23604)
Browse files Browse the repository at this point in the history
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 <gengjun@starrocks.com>
  • Loading branch information
gengjun-git authored May 23, 2023
1 parent b113839 commit a7e6597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/start_fe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit a7e6597

Please sign in to comment.