You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tubemq.apache.org by yu...@apache.org on 2021/01/29 10:07:03 UTC
[incubator-tubemq] 05/49: [TUBEMQ-442]Modifying the jvm parameters
when the broker starts does not take effect (#340)
This is an automated email from the ASF dual-hosted git repository.
yuanbo pushed a commit to branch TUBEMQ-421
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq.git
commit a835a50130ccbf0a7746b66544617d7f80091e0b
Author: gosonzhang <46...@qq.com>
AuthorDate: Fri Dec 4 17:37:16 2020 +0800
[TUBEMQ-442]Modifying the jvm parameters when the broker starts does not take effect (#340)
Co-authored-by: gosonzhang <go...@tencent.com>
---
bin/env.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/env.sh b/bin/env.sh
index 46d168c..4364993 100644
--- a/bin/env.sh
+++ b/bin/env.sh
@@ -35,7 +35,7 @@ if [ -z "$MASTER_JVM_SIZE" ]; then
fi
MASTER_JVM_ARGS="$MASTER_JVM_SIZE -server -Dtubemq.home=$tubemq_home -cp $CLASSPATH "
#Broker jvm args
-if [ -z "$MASTER_JVM_SIZE" ]; then
+if [ -z "$BROKER_JVM_SIZE" ]; then
BROKER_JVM_SIZE="-Xmx16g -Xms8g"
fi
BROKER_JVM_ARGS="$BROKER_JVM_SIZE -server -Dtubemq.home=$tubemq_home -cp $CLASSPATH "