hulu20 opened a new issue #71:
URL: https://github.com/apache/rocketmq-operator/issues/71


   I want to limit the JVM of Nameservice, but setting env doesn't work
   Nameservice yaml add
   ```shell
     env:
       - name: "Xms"
         value: "512m"
       - name: "Xmx"
         value: "512m"
       - name: "Xmn"
         value: "256m"
   ```
   ```shell
   root     24959 24945  0 15:40 ?        00:00:00 sh 
/root/rocketmq/nameserver/bin/runserver.sh 
org.apache.rocketmq.namesrv.NamesrvStartup
   root     24980 24959  0 15:40 ?        00:00:04 
/usr/lib/jvm/java-1.8-openjdk/bin/java -server -Xms6013M -Xmx6013M -Xmn1000M 
-XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection 
-XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled 
-XX:SoftRefLRUPolicyMSPerMB=0 -XX:+CMSClassUnloadingEnabled -XX:SurvivorRatio=8 
-XX:-UseParNewGC -verbose:gc -Xloggc:/dev/shm/rmq_srv_gc.log 
-XX:+PrintGCDetails -XX:-OmitStackTraceInFastThrow -XX:-UseLargePages 
-Djava.ext.dirs=/usr/lib/jvm/java-1.8-openjdk/jre/lib/ext:/root/rocketmq/nameserver/bin/../lib
 -cp .:/root/rocketmq/nameserver/bin/../conf: 
org.apache.rocketmq.namesrv.NamesrvStartup
   ```


----------------------------------------------------------------
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.

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


Reply via email to