You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "johnsonyjl (JIRA)" <ji...@apache.org> on 2017/10/30 14:01:00 UTC
[jira] [Created] (ROCKETMQ-307) some jvm arguments need changed for
java 8 and direct memory GC
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)