Logo
Background

Server RAM Allocation Guide

Updated February 10, 2026

This guide covers how to properly configure your server using the Server Starter Guide, ensuring you use the correct Java version and loader settings.

1. Java Version Requirements

Minecraft versions require specific Java environments to run. Using the incorrect version will result in a crash on startup.

Minecraft VersionRequired JavaInstallation Guide
1.20 and HigherJava 21Install Guide
1.17 – 1.20Java 17Install Guide
1.16.5 and LowerJava 8Install Guide

2. Forge Servers (Standard)

For most modern Forge installations, RAM is managed through a specific arguments file.

  1. Locate the file named user_jvm_args.txt in your main server directory.
  2. Find the line containing -Xmx4G.
  3. Change the value to reflect your desired RAM.
    • Example: Change -Xmx4G to -Xmx8G to allocate 8GB.
  4. Save the file and restart your server.

3. Fabric Servers

If you are using our Fabric server files, the configuration is handled via a YAML file.

  1. Open the file server-setup-config.yaml.
  2. Locate the line that reads maxRam: 3G.
  3. Change the number to your desired amount (e.g., maxRam: 8G).
  4. Save the file and restart the server.

IMPORTANT

These steps apply only to self-hosted servers. If you are using a third-party hosting provider, you will generally need to upgrade your plan through their billing portal to increase RAM.

BisectHosting Promo

Was this helpful?