未验证 提交 12ccd508 编写于 作者: 螃蟹以死 提交者: GitHub

[RIP-9] Add the system configuration option doc: Direct ByteBuffer memory size

[RIP-9] Add the system configuration option doc: Direct ByteBuffer memory size
上级 5f8a7545
......@@ -8,6 +8,10 @@ The latest released version of JDK 1.8 is recommended. Set the same Xms and Xmx
-server -Xms8g -Xmx8g -Xmn4g
Direct ByteBuffer memory size setting. Full GC will be triggered when the Direct ByteBuffer up to the specified size:
-XX:MaxDirectMemorySize=15g
If you don’t care about the boot time of RocketMQ broker, pre-touch the Java heap to make sure that every page will be allocated during JVM initialization is a better choice. Those who don’t care about the boot time can enable it:
-XX:+AlwaysPreTouch
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册