Modpack Performance Optimization Guide
A collection of performance optimization tips for a smooth, lag-free modpack experience.
Before You Start — Identify What Kind of "Lag" You Have
What people call "lag" is actually two different problems mixed together. Low FPS and low TPS (Ticks Per Second) have different causes and need different fixes. Press F3 in-game and you'll see both numbers in the top-left corner — check this first, otherwise you'll waste hours fixing the wrong thing.
Spend the first 5 minutes *checking F3 to see which side has the problem*. Everything else comes after.
JVM Argument Settings — The Heart of Lag Fixing
The single biggest factor in modpack performance is JVM (Java Virtual Machine) configuration. A lot of players only touch in-game settings and leave JVM at defaults — but tuning JVM properly can add 5–10 TPS to the same modpack.
RAM Allocation — Too Much Is Also a Problem
⚠️ Allocating too much RAM backfires: GC (Garbage Collection) cycles get longer, freezing the game for 1–2 seconds at a time. Allocating 12 GB on a 16 GB system also slows your OS down. *Never exceed 60% of your PC's total RAM.*
Recommended JVM Arguments (G1GC-based)
-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200
-XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40
-XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20
-XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32
-XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1
-Dusing.aikars.flags=https://mcflags.emc.gs
This is known as Aikar's Flags — a battle-tested G1GC tuning set used by Minecraft servers. Paste it into the CurseForge launcher under instance settings → "More Options" → JVM Arguments (alongside -Xmx/-Xms for memory).
Matching Java Versions
*Wrong Java version = guaranteed crash.* The CurseForge launcher matches versions automatically, but on Prism Launcher and similar tools you have to set this per-instance manually.
In-Game Settings — Squeezing Out FPS
Video Settings (Top 4 Priorities)
Additional Recommended OFF Settings
Squeezing Even More from Specific Mods
Chunk Management — Late-Game TPS Fixes
In late game with heavy automation, you'll often see *FPS staying fine but the game stuttering anyway*. That's a TPS problem caused by too many loaded chunks.
Common Causes of Chunk Leaks
Fixes
Shaders — What to Know Before Turning Them On
Shaders make the game gorgeous but *cost you 30–50 FPS instantly.* Recommended approach:
Crash Troubleshooting Basics
1. How to Read a crash-report
Go to your instance folder →crash-reports/ and open the latest file in a text editor.---- Minecraft Crash Report ----
Time: ...
Description: Watching Serverjava.lang.OutOfMemoryError: Java heap space
at net.minecraft.world.chunk... (Mekanism: ProcessChamber...)
The key is finding the error type + the mod name in this kind of structure.
2. Common Errors and What They Mean
-Xmx value3. Step-by-Step Resolution
config/{modid}/), disable the suspicious optionRecommended Measurement Tools
Related Reading
📦 Related Modpacks
RLCraft
A hardcore modpack that transforms Minecraft into an extreme survival experience. Features thirst, body temperature, and a leveling system for realistic survival gameplay.
🎯 Best for A fit for players who embrace die-and-learn hardcore survival with deep build crafting.
All the Mods 10
The latest in the ATM series. A massive kitchen-sink modpack with over 400 mods to freely explore. Built on 1.21 NeoForge for the newest content available.
🎯 Best for A good fit if you want automation, magic, and exploration all in one pack.