All Projects → FroggeMC → MC-Java-Flags

FroggeMC / MC-Java-Flags

Licence: other
Minecraft ZGC start-up flags

Projects that are alternatives of or similar to MC-Java-Flags

Purpur
Purpur is a drop-in replacement for Paper servers designed for configurability, and new fun and exciting gameplay features.
Stars: ✭ 1,224 (+5221.74%)
Mutual labels:  minecraft-server
NanoLimbo
The lightweight, high performance Minecraft limbo server
Stars: ✭ 94 (+308.7%)
Mutual labels:  minecraft-server
Docker-Minecraft-PaperMC-Server
Starts a Minecraft PaperMC 1.18 server
Stars: ✭ 80 (+247.83%)
Mutual labels:  minecraft-server
wrapper.py
Wrapper.py is a Minecraft server wrapper that adds additional features to a vanilla server, including backups, dashboard access, plugins, and more.
Stars: ✭ 34 (+47.83%)
Mutual labels:  minecraft-server
MineiaGo
Minecraft Bedrock Edition <-> Java Edition using BungeeCord.
Stars: ✭ 14 (-39.13%)
Mutual labels:  minecraft-server
paperweight-test-plugin
test plugin for paperweight-userdev
Stars: ✭ 34 (+47.83%)
Mutual labels:  minecraft-server
VanillaReimplementation
[Paused - Far from done] Reimplementation of Vanilla features in Minestom
Stars: ✭ 67 (+191.3%)
Mutual labels:  minecraft-server
minecord
Connects Minecraft Server and Discord without any mods or plugins.
Stars: ✭ 56 (+143.48%)
Mutual labels:  minecraft-server
minecraft-backup
Backup script for Minecraft servers on Linux. Supports screen, tmux, and RCON connections. Supports tar and restic backup format.
Stars: ✭ 140 (+508.7%)
Mutual labels:  minecraft-server
Node-MineiaGo
A proxy to bridge Bedrock (Minecraft Pocket Edition, Minecraft Console Editions and Windows 10 Edition) with Minecraft Java Edition.
Stars: ✭ 15 (-34.78%)
Mutual labels:  minecraft-server
Melani-Modpack
Performance perfected; a fabric modpack aiming for the stars. 🌠
Stars: ✭ 12 (-47.83%)
Mutual labels:  jvm-flags
AdminCraft
🌲 Admin Web GUI Server Wrapper for Vanilla Minecraft Servers
Stars: ✭ 30 (+30.43%)
Mutual labels:  minecraft-server
Minecraft-Server-Status
✅一个用于显示服务器在线信息及其他内容的网站
Stars: ✭ 22 (-4.35%)
Mutual labels:  minecraft-server
Mohist
Minecraft Forge Hybrid server implementing the Spigot/Bukkit API, formerly known as Thermos/Cauldron/MCPC+
Stars: ✭ 861 (+3643.48%)
Mutual labels:  minecraft-server
mc-monitor
Monitor the status of Minecraft servers and provides Prometheus exporter and Influx line protocol output
Stars: ✭ 100 (+334.78%)
Mutual labels:  minecraft-server
Lantern
An open-source Minecraft server that implements the SpongeAPI.
Stars: ✭ 111 (+382.61%)
Mutual labels:  minecraft-server
Mc2Discord
A simple minecraft mod, server side only, to link the chat with your Discord server
Stars: ✭ 18 (-21.74%)
Mutual labels:  minecraft-server
Islands
A spigot plugin for creating customisable home islands with different biomes. https://www.spigotmc.org/resources/islands-home-islands-system.84303/
Stars: ✭ 18 (-21.74%)
Mutual labels:  minecraft-server
minecraft-server
Minecraft server with cool features running in Docker containers
Stars: ✭ 13 (-43.48%)
Mutual labels:  minecraft-server
ScriptableMC-Engine
Create TypeScript/JavaScript plugins for Minecraft 1.16 Bukkit/Spigot/Paper
Stars: ✭ 36 (+56.52%)
Mutual labels:  minecraft-server

These are some ZGC flags I put together with the help of this blogpost
Note that these flags require you to have Java 14+ if you're on Windows or MacOS and Java 13+ if you're on Linux though I would always suggest you to use the last Java version available

Stable flags

-Xms4G -Xmx4G -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-OmitStackTraceInFastThrow -XX:+ShowCodeDetailsInExceptionMessages -XX:+DisableExplicitGC -XX:-UseParallelGC -XX:-UseParallelOldGC -XX:+PerfDisableSharedMem -XX:+UseZGC -XX:-ZUncommit -XX:ZUncommitDelay=300 -XX:ZCollectionInterval=5 -XX:ZAllocationSpikeTolerance=2.0 -XX:+AlwaysPreTouch -XX:+UseTransparentHugePages -XX:LargePageSizeInBytes=2M -XX:+UseLargePages -XX:+ParallelRefProcEnabled

Experimental flags

-Xms4G -Xmx4G -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-OmitStackTraceInFastThrow -XX:+ShowCodeDetailsInExceptionMessages -XX:+DisableExplicitGC -XX:-UseParallelGC -XX:-UseParallelOldGC -XX:+PerfDisableSharedMem -XX:+UseZGC -XX:-ZUncommit -XX:ZUncommitDelay=300 -XX:ZCollectionInterval=5 -XX:ZAllocationSpikeTolerance=2.0 -XX:+ExitOnOutOfMemoryError -XX:+AlwaysPreTouch -XX:-DontCompileHugeMethods -XX:+TrustFinalNonStaticFields -XX:+UseFastUnorderedTimeStamps -XX:+UseTransparentHugePages -XX:LargePageSizeInBytes=2M -XX:+UseLargePages -XX:+UseCMoveUnconditionally -XX:+UseNewLongLShift -XX:+UseVectorCmov -XX:+UseXmmI2D -XX:+UseXmmI2F -XX:+ParallelRefProcEnabled

Explaining some of these flags

-Xms matching -Xmx – You should never run your server with the case that -Xmx can run the system completely out of memory. Your server should always be expected to use the entire -Xmx, +UnlockExperimentalVMOptions – Unlocks experimental flags/options, +DisableExplicitGC – Disables System.gc() calls from code, you really don’t want people playing around with your GC, -UseParallelGC – Disables Parallel GC, this should already be disabled, but we set this just to be sure, -UseParallelOldGC – ^ but disables ParalledOld GC, -UseG1GC – ^ but disables G1GC, +UseZGC – Enables ZGC, +AlwaysPreTouch – AlwaysPreTouch gets the memory setup and reserved at process start ensuring it is contiguous, improving the efficiency of it more. This improves the operating systems memory access speed. Mandatory to use Transparent Huge Pages, +ParallelRefProcEnabled – Optimizes the GC process to use multiple threads for weak reference checking, +PerfDisableSharedMem – Causes GC to write to file system which can cause major latency if disk IO is high.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].