Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
When the master and broker are deployed on the same machine, modify the BROKER_JVM_SIZE parameter in the bin/env.sh file, the parameter does not take effect.
```
cat bin/env.sh
if [ -z "$MASTER_JVM_SIZE" ]; then
MASTER_JVM_SIZE="-Xmx10g -Xms6g"
fi
MASTER_JVM_ARGS="$MASTER_JVM_SIZE -server -Dtubemq.home=$tubemq_home -cp $CLASSPATH "
#Broker jvm args
if [ -z "$MASTER_JVM_SIZE" ]; then
BROKER_JVM_SIZE="-Xmx12g -Xms12g -Xmn4g"
fi
```