dave2wave commented on code in PR #16623:
URL: https://github.com/apache/pulsar/pull/16623#discussion_r922716979


##########
conf/pulsar_tools_env.sh:
##########
@@ -42,13 +42,13 @@
 # PULSAR_GLOBAL_ZK_CONF=
 
 # Extra options to be passed to the jvm
-PULSAR_MEM=${PULSAR_MEM:-"-Xmx128m -XX:MaxDirectMemorySize=128m"}
+PULSAR_TOOL_MEM=${PULSAR_MEM:-"-Xmx128m -XX:MaxDirectMemorySize=128m"}

Review Comment:
   1. This will set PULSAR_TOOL_MEM to PULSAR_MEM. It will ignore 
PULSAR_TOOL_MEM if it is set in the environment.
   2. In a proper override you do need to consider that legacy users will be 
surprised by this behavior so if PULSAR_TOOL_MEM is not set then check 
PULSAR_MEM
   
   This same comment applies to PULSAR_TOOL_GC



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to