MyNixOS website logo
option

services.minecraft-server.jvmOpts

JVM options for the Minecraft server.

Declarations
Type
strings concatenated with " "
Default
"-Xmx2048M -Xms2048M"
Example
"-Xms4092M -Xmx4092M -XX:+UseG1GC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10"