Kinetic Hosting Logo
Loading…

How To Enable The Aikar Startup Flags

Skip the reading?

Check out our video guide on How To Enable The Aikar Startup Flags

Applying The Flags - Game Servers

If you have a Game or Minecraft server with Kinetic Hosting. You can follow the steps below to set your startup flags.

1 Login to the Kinetic Panel

2 Power down your server & head to the settings page.

3 On the Startup Flags box, you will see "Default" or something else you have set it to.

4 Click on the Dropdown menu, you will see some presets we have for your Minecraft Server.

5 Different Flags can be used in different scenarios, below you will see examples and the purpose for each flags.

Default: These are the default startup flags for your server, If you just purchased your server or haven't changed this setting, it will default to this.

Aikar Flags [Under 12gb RAM}: This will help if your server has less than 12GB of memory allocated to it, if you use this setting when your server has above 12GB of memory, you may recieve out of memory crashing.

Aikar Flags [12gb+ RAM}: This will help if your server has more than 12GB of memory allocated to it, if you use this setting when your server has lower than 12GB of memory, you may recieve out of memory crashing.

Aikar Flags [20gb+ RAM}: This will help if your server has more than 20GB of memory allocated to it, if you use this setting when your server has lower than 20GB of memory, you may recieve out of memory crashing.

Under 1gb RAM: This is primarily used for Proxy software, this can prevent your proxy from crashing from out of memory.

Full RAM: This will use all of your servers memory, it is not recommended to do this as your server can crash from out of memory.

2GB Stepdown: Your server will take 2GB From it to be used for Java Processes to run more efficiently.

4GB Stepdown: Your server will take 4GB From it to be used for Java Processes to run more efficiently.

Custom: If you have your own flags you prefer, you can use this setting to set your own custom flags in the "Custom Flags" box on the Settings Page.

Applying The Flags - VPS

If you're running a VPS you won't have access to our panel, so will need to apply the flags to your server. If you're using Pterdactly you'll need to make sure you step down the RAM values, so you leave room for Java to run. Here are 2 examples.

If your server is using under 12gb of RAM, then these are the flags you should use.

java -Xms11G -Xmx11G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui

If you’re using 12gb of RAM or more, then some changes are needed.

java -Xms12G -Xmx12G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:InitiatingHeapOccupancyPercent=20 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui

How Much RAM Should I Give

First, don’t give all your systems memory. These startup settings will use all the memory provided. So if you have a 14gb system, and give all 14gb, you don’t leave any memory for other processes on that system.

This also applies to anyone using the pterodactyl panel.

When setting the ram value, it’s a good idea to set it 1gb under your systems RAM

More Isn’t Better

It’s common for people to think that giving more RAM to your server will solve all your problems. However this often can at best not solve any issues, and at worse, make the server crash more frequently.

Kinetic Hosting Logo™

Our goal at Kinetic is to offer genuinely helpful, human-powered support (no bots, no AI), combined with a feature-rich panel, powerful hardware, and prices that won’t break the bank.

Registered in England & Wales • Co. No. 11439987 • ICO No. ZA841955

Kinetic Hosting and the Kinetic Hosting logo are trademarks of Dapper Fox Group LTD. All other trademarks are the property of their respective owners.

Company
Services
Clients
Legal