diff --git a/assembly/src/release/bin/env b/assembly/src/release/bin/env index a31d687ecb..87c2624993 100644 --- a/assembly/src/release/bin/env +++ b/assembly/src/release/bin/env @@ -30,8 +30,9 @@ # ACTIVEMQ_TMP="$ACTIVEMQ_BASE/tmp" # Set jvm memory configuration (minimal/maximum amount of memory) -ACTIVEMQ_OPTS_MEMORY="-Xms64M -Xmx1G" - +if [ -z "$ACTIVEMQ_OPTS_MEMORY" ] ; then + ACTIVEMQ_OPTS_MEMORY="-Xms64M -Xmx1G" +fi if [ -z "$ACTIVEMQ_OPTS" ] ; then ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config" fi