johnsonyjl created ROCKETMQ-307:
-----------------------------------

             Summary: some jvm arguments need changed for java 8 and direct 
memory GC
                 Key: ROCKETMQ-307
                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-307
             Project: Apache RocketMQ
          Issue Type: Improvement
          Components: rocketmq-externals
    Affects Versions: 4.2.0
         Environment: all
            Reporter: johnsonyjl
            Assignee: dongeforever
             Fix For: 4.2.0


* new jvm arguments -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=320m for jdk 8
* remove the -XX:+DisableExplicitGC, if use the DisableExplicitGC, the direct 
memory GC will be not run correctly. please refer to 
java.nio.Bits#reserveMemory method



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to