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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-incubating, 4.1.0-incubating
    • 4.2.0
    • rocketmq-broker
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: