Sane, Benchmarked Java Flags and Tweaks for Minecraft
never use zgc at 4gb ram server.. better to use standard g1gc + aikar flags as a example try flags.sh / startmc.sh - some info about flags explained there https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks + use -Xms large as -Xmx
Maximum Performance Launch Flags for Minecraft Server
Like others said, don't allocate all the ram the server has to the jvm with the -xmx, but since you were asking for flags, I've been using Hilltty flags, and they work like wonders. Here's the link https://github.com/hilltty/hilltty-flags/blob/main/english-lang.md
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
Minecraft will NOT launch if the JVM arguments are changed. Even on a fresh install of fabric.
2 projects | reddit.com/r/fabricmc | 26 Jan 2023
What a Strange World We Live in... GTNH, Minecraft 1.7.10 Working in Java 19 with LWJGL 3.3.1....
6 projects | reddit.com/r/feedthebeast | 26 Jan 2023
GregTech: New Horizons stuttering issue, memory hits 4GB resets down to 3Gb and stutters me over and over. My PC can absolutely run the pack so idk why this is happening. Any help is appreciated
3 projects | reddit.com/r/feedthebeast | 25 Jan 2023
Java 17 arguments for modded minecraft
1 project | reddit.com/r/feedthebeast | 24 Jan 2023
30 fps in Minecraft with a 3070
1 project | reddit.com/r/Minecraft | 21 Jan 2023