Skip to content
CraftLauncher

Technical guide

Boost your Minecraft launcher’s performance

A laggy modpack drives players away. Java, memory, performance mods and trimming the modpack: the settings that really matter, and the ones the launcher already handles for you.

Updated on October 11, 20261 min readCraftLauncher team

A Minecraft launcher tuned for performance
Contents
  1. Why it matters
  2. The right Java version
  3. How much RAM to allocate
  4. JVM arguments
  5. Performance mods
  6. Trim the modpack

For smooth modded Minecraft: the Java version your game version requires, 4 to 8 GB of RAM depending on the modpack (never more than half the computer’s memory), the G1 garbage collector, and performance mods like Sodium, Lithium, FerriteCore and ModernFix. A launcher like CraftLauncher applies Java and the JVM arguments for your players.

Why it matters

The first launch is the first impression: a modpack that takes ages to load, or runs poorly on an average computer, loses players before they even see your server. Many players don’t know how to tune Java or memory: the launcher should do it for them.

The right Java version

Each Minecraft version requires a specific Java version:

MinecraftJava
1.16.5 and earlierJava 8
1.17Java 16
1.18 to 1.20.4Java 17
1.20.5 to 1.21.xJava 21
Year-based versions (26.x)Java 25

CraftLauncher picks and installs the right version for your players; for recent versions, it asks Mojang directly.

How much RAM to allocate

  • Vanilla or performance pack: 2 to 4 GB is enough.
  • Medium modpack (50 to 150 mods): 4 to 6 GB.
  • Big tech modpack: 6 to 8 GB.

Allocating too much memory backfires: garbage-collection pauses get longer, and the system runs short. Never go over half the computer’s RAM. The launcher offers a default suited to your server, which each player can adjust in the settings.

JVM arguments

For Java 17 and later, the G1 garbage collector tuned for Minecraft reduces micro-stutters. The launcher applies a proven set of arguments by default (G1, with region size and pause target adjusted): your players have nothing to copy.

The famous “Aikar’s flags” are designed for servers (Paper and forks): use them on your server rather than on players’ computers.

Performance mods

  • Sodium (Fabric, NeoForge): replaces the rendering engine; the biggest FPS gain.
  • Lithium: optimizes physics, AI and game logic, client and server side.
  • FerriteCore (Fabric, Forge, NeoForge): sharply reduces memory use, precious on big modpacks.
  • ModernFix (Fabric, Forge, NeoForge): load times, memory and many fixes.
  • EntityCulling and ImmediatelyFast: skip what is hidden, speed up interface and entity rendering.

Starlight, long a must, is no longer useful since 1.20: Mojang rewrote the lighting engine. On Forge, prefer maintained ports over old Sodium forks.

Trim the modpack

Every mod adds load time and memory. Review your modpack: decoration mods nobody uses, duplicate mods (two minimaps), debug mods. Removing ten useless mods often does more than any setting.

  • Client only: shaders, minimaps, interface, rendering performance.
  • Server only: protection, economy, server-side world generation.
  • Both: mods that add content (blocks, creatures, machines).

What people ask us the most.

Is OptiFine still recommended?

For a modpack, prefer Sodium and Iris (shaders): they perform better and are compatible with far more mods.

Does more RAM mean more FPS?

No. Beyond what is needed, extra memory improves nothing and can even cause longer stutters.

Can my players change the RAM?

Yes, in the launcher settings. The default is suited to your server.

Read next

Your server deserves its own launcher.

Build it for free, publish it tonight. Your players will only have one file to install.

Build my launcher See the plans

Free, no credit card