[
https://issues.apache.org/jira/browse/ROCKETMQ-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235298#comment-16235298
]
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-341335627
Hi, sorry for late.
I have last two questions:
1. What's the default value `MetaspaceSize` and `MaxMetaspaceSize` in JDK8,
and are these new value reasonable?
2. Will these two parameters influence the low version JDK? like JDK7?
----------------------------------------------------------------
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)