This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 928ba3d Don't set Pulsar Memory if variable is already set (#1831)
928ba3d is described below
commit 928ba3d924c32e9bfc2641fecac35064e0228765
Author: Sanjeev Kulkarni <[email protected]>
AuthorDate: Tue May 22 15:03:32 2018 -0700
Don't set Pulsar Memory if variable is already set (#1831)
* Don't set Pulsar Memory if variable is already set
* Took feedback
---
conf/pulsar_tools_env.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/conf/pulsar_tools_env.sh b/conf/pulsar_tools_env.sh
index 7eca607..7ad022f 100755
--- a/conf/pulsar_tools_env.sh
+++ b/conf/pulsar_tools_env.sh
@@ -42,7 +42,7 @@
# PULSAR_GLOBAL_ZK_CONF=
# Extra options to be passed to the jvm
-PULSAR_MEM=" -Xmx256m -XX:MaxDirectMemorySize=256m"
+PULSAR_MEM=${PULSAR_MEM:-"-Xmx256m -XX:MaxDirectMemorySize=256m"}
# Garbage collection options
PULSAR_GC=" -client "
--
To stop receiving notification emails like this one, please contact
[email protected].