Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-307

some jvm arguments need changed for java 8 and direct memory GC

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-incubating, 4.1.0-incubating
    • Fix Version/s: 4.2.0
    • Component/s: rocketmq-broker
    • Labels:
      None
    • Environment:
      all

      Description

      • 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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zander dongeforever
                Reporter:
                johnsonyjl johnsonyjl
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: