# Tensura World of Monsters - requested Java 21 client defaults (18 October 2026).
# Recommended client allocation: 10 GiB / 10240 MiB.
# Full argument string for launchers that accept heap options:
-Xms10G -Xmx10G -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ZGenerational -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:+UseDynamicNumberOfGCThreads

# CurseForge: enable the profile's memory override and set allocation to 10240 MB.
# Paste the full line into profile Java arguments to keep the requested Xms10G.
# Remove prior collector arguments (especially -XX:+UseG1GC); retain launcher arguments.
# CurseForge ZIP / MRPACK imports do not apply arbitrary JVM arguments from this file.
# Distribute the 10240 MiB recommendation through CurseForge's native RAM export option.
# Java 21 is required for this exact Generational ZGC profile. Leave RAM for the OS,
# native memory and other applications: a 10 GiB heap is not total process memory.
# This replaces the old G1 profile by request; it is not a new performance benchmark.
# Leave explicit GC enabled for DH; ZGC already handles explicit GC concurrently.
# Dedicated server: use user_jvm_args.txt and the supplied NeoForge start scripts.
