[
https://issues.apache.org/jira/browse/ROCKETMQ-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16236975#comment-16236975
]
ASF GitHub Bot commented on ROCKETMQ-307:
-----------------------------------------
zhouxinyu commented on issue #186: [ROCKETMQ-307] Polish the JVM parameters in
start scriptes
URL: https://github.com/apache/rocketmq/pull/186#issuecomment-341608562
Thanks, I will merge this PR soon, and please submit PR to `develop` branch
next time~ 😄
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Priority: Major
> 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)