morrySnow commented on code in PR #9683:
URL: https://github.com/apache/incubator-doris/pull/9683#discussion_r876625332


##########
bin/start_fe.sh:
##########
@@ -132,13 +132,21 @@ fi
 
 # check java version and choose correct JAVA_OPTS
 java_version=$(jdk_version)
-final_java_opt=$JAVA_OPTS
+final_java_opt=$JAVA_OPTS_4G
+MemTotal=`free -g | grep "Mem"  | awk '{print $7}'`

Review Comment:
   free is not available on all  Linux Distribution. we'd better to do `which 
free` before use it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to