File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -7,21 +7,15 @@ description: Aikar's flags are a set of JVM flags designed to improve the perfor
7
7
8
8
## Recommended JVM startup flags
9
9
10
- Use these flags exactly, only changing ` Xmx ` and ` Xms ` . These flags work and scale accordingly to any
11
- size of memory.
10
+ ::: warning [ Script Generator]
12
11
13
- For an automated script to generate these flags for you, see
14
- our [ Script Generator] ( /misc/tools/start-script-gen ) .
12
+ ** This page only serves as an explanation page.** If you want to generate a start script, please visit
13
+ our ** [ Script Generator] ( /misc/tools/start-script-gen ) ** .
14
+
15
+ :::
15
16
16
17
``` bash
17
- java -Xms10G -Xmx10G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200
18
- -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch
19
- -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M
20
- -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4
21
- -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90
22
- -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem
23
- -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs
24
- -Daikars.new.flags=true -jar paper.jar --nogui
18
+ java -Xms10G -Xmx10G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper.jar --nogui
25
19
```
26
20
27
21
::: danger [ Do not allocate all of your available memory on a shared host!]
You can’t perform that action at this time.
0 commit comments