Skip to content
Knowledgebase

Diagnose Minecraft lag with a profiler

Measure a busy session and tune the actual cause.

2 min read

Separate TPS problems from network latency

If the whole world slows down, measure server tick performance and resource usage. If only one player sees delay, also investigate their connection. Record active players, exploration, farms, entities and recent plugin changes. Do not assume every problem is a RAM shortage.

Capture a meaningful profile

Paper versions that include spark provide a profiler for diagnosing work on the server. Follow the commands supported by your installed version. Capture while the lag is actually happening, not only during an empty quiet session.

/spark profiler start --timeout 600

Use the result

  1. Record the report link, time, player count and symptoms.
  2. Look for the plugin, task or world activity consuming time instead of disabling unrelated features.
  3. Back up and change one relevant setting at a time.
  4. Compare a new profile under similar activity.
  5. Share the report privately with support if you need help interpreting it.

Tune without damaging play

View and simulation distances, terrain generation and entity-heavy builds can affect work per tick. Change the settings appropriate to your runtime conservatively and check gameplay after each change. Increasing heap or CPU allocation will not automatically repair an expensive plugin task. Keep your known-good configuration and avoid copying arbitrary Java flags without a matching runtime requirement.

Further reading

Check the current documentation for your installed version before changing game-specific settings.

Paper profiling Java server properties

Still need a hand?

Send us your service ID and what you’ve tried so far.

Contact support