Chunk loading and lag spikes during exploration
Why the server lags when a player runs into new lands, how to measure it, and what helps: pregeneration, world borders, and chunk settings.
Updated August 13, 2026
Chunk generation is the heaviest operation a server performs: terrain, ores, structures, light. When a player runs through unexplored territory, the server generates dozens of chunks per second.
Symptoms
- TPS drops exactly when someone is exploring the map.
- The profiler shows the
ChunkMap,ChunkGenerate, andPoiManagerbranches. - Especially noticeable on modpacks with custom generation — Custom generators.
What helps
- Pre-generation. Generate the area in advance during quiet hours — Pre-generation. The most effective solution.
- World border. Limit the area altogether — World border.
- Radii. A smaller
view-distancemeans fewer chunks queued for generation. - Paper settings:
max-auto-save-chunks-per-tick,prevent-moving-into-unloaded-chunks, and a limit on the chunk send rate. - Elytras and horses. Fast travel is the main source of load. On a server with elytras, pre-generation is mandatory.
Chunk loaders
Mods and mechanics that keep chunks loaded turn a one-time load into a permanent one. Limit their number — Modded server optimization.
Disk
Generation also means writing to disk. When the disk is full, the server will lag even more — Disk full.
Minecraft hostingYour server runs while you are offlineCreate server
