Skip to content
Hosting · Performance

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, and PoiManager branches.
  • Especially noticeable on modpacks with custom generation — Custom generators.

What helps

  1. Pre-generation. Generate the area in advance during quiet hours — Pre-generation. The most effective solution.
  2. World border. Limit the area altogether — World border.
  3. Radii. A smaller view-distance means fewer chunks queued for generation.
  4. Paper settings: max-auto-save-chunks-per-tick, prevent-moving-into-unloaded-chunks, and a limit on the chunk send rate.
  5. 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