mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-01 05:46:12 +08:00
Merge pull request #1044 from Crab2died/develop
[RIP-9] Add the system configuration option doc: Direct ByteBuffer me…
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user