Minecraft Server Keeps Crashing: Causes And Fixes
12 minute read · Updated November 2026Short answerCheck what crashed, then find the error from that moment.
If the server stops for everyone, check its console andlogs/latest.logfor memory errors, incompatible software, world-loading failures or storage problems. If only your Minecraft game closes when you join, start with your own game's log and modpack version.
A Minecraft server crashing during startup needs a different fix from one that stops when a player enters a particular area. The timing helps narrow the search, but the log provides the evidence. Increasing RAM or removing mods at random can leave the original problem unresolved and introduce new ones.
Before changing server software, mods or world files, preserve your latest log and make a backup of the current files. Keep your last working backup available too.
Does the server crash, or does your game crash when you join?
First, check whether the server actually stopped.
- Everyone disconnects and the server goes offline: investigate the server's console and logs.
- Your Minecraft application closes while other players keep playing: investigate your client.
- You return to the multiplayer menu with a disconnect message: save that message. A connection failure, missing mod or rejected login can disconnect you without either the game or server crashing.
- The server remains online but everyone freezes or actions stop responding: it may be hanging or struggling to keep up. Check the console; our guide to reducing Minecraft server lag covers performance problems.
If you're joining someone else's server, ask whether other players are affected. That simple check can save you from troubleshooting the wrong computer.
Why does Minecraft crash when I join a server?
When only your game closes, open the affected Minecraft installation's logs/latest.log and, if one was generated, its newest file in crash-reports. Launchers often keep separate folders for different instances, so use the folder belonging to the profile you actually launched.
For modded Minecraft, check these first:
- Use the exact modpack release required by the server. Matching the Minecraft version alone isn't enough. The loader, mods and their versions must also be compatible.
- Test an unmodified copy of that pack. Temporarily leave out extra mods, shaders and resource packs you've added. Keep the original instance so you can recover its settings.
- Check the launcher's memory allocation. A client-side
OutOfMemoryErrorconcerns the memory available to your game. Adding RAM to the server won't fix it. - Follow any named mod or graphics error. A crash involving rendering may point to a client mod, shader or graphics driver. Use the crash report to choose what to update or disable.
On Server Heron, a modded server's join page shows players which modpack and version to install.
If the crash happens only when you enter one area, tell the administrator your location and the time it happened. A particular entity, block or rendering effect may trigger the client crash. If the server also stops at that moment, investigate the server-side error instead.
Find the server error before making changes
For Java servers, including Paper and modded servers, start with:
logs/latest.log: startup messages and output from the current or most recent run.crash-reports: detailed reports generated for some crashes.- Your hosting panel's console: especially useful when the process stops abruptly without producing a report.
Minecraft crash reports describe many Java-level failures. They aren't limited to crashes of the Java runtime itself, and not every shutdown produces one.
Read around the time the server failed. The final lines may only say that the server is stopping; the useful error can appear earlier. Look for an exception, a dependency warning, a failed world load or a watchdog report. Follow any Caused by: entries, while keeping the surrounding messages for context.
On Server Heron, open your server under My servers, then Console. Warnings and errors are highlighted, and the memory and CPU graphs can help you compare resource usage with the time of the crash. You can download the console log or open logs/latest.log through Files.
These Java errors provide useful starting points:
| Message or symptom | What to investigate |
|---|---|
OutOfMemoryError: Java heap space |
Java heap exhaustion |
UnsupportedClassVersionError |
Software compiled for a newer Java version |
| Missing dependency or incompatible mod message | Plugin, mod or loader compatibility |
Failed to read chunk or an invalid region header |
World-file damage or a world-loading problem |
No space left on device |
Full storage |
A single server tick took... or The server has stopped responding! |
A watchdog timeout |
Address already in use |
A port conflict |
| Process stops with no Minecraft exception | Hosting limits, an external shutdown or a runtime failure |
The table narrows the investigation; a single line doesn't always establish the cause. For help interpreting exception chains and stack traces, see how to read a Minecraft crash report.
Server crashing on startup: check Java, plugins and mods
Startup failures often follow a Minecraft update, a modpack change or the installation of new content. Start with what changed, then check the log for the first relevant failure.
Match Java to your server software
An error such as this means some code requires a newer Java runtime than the one loading it:
java.lang.UnsupportedClassVersionError: ... has been compiled by a more recent version of the Java Runtime
These are the Java requirements for common Vanilla releases:
| Minecraft version | Required Java version |
|---|---|
| 26.1 and later | Java 25 |
| 1.20.5 through 1.21.x | Java 21 |
| 1.18 through 1.20.4 | Java 17 |
| 1.17 | Java 16 |
Paper, mod loaders and individual plugins can have additional requirements. For older servers, follow the requirements for that exact Minecraft and server-software release.
If you self-host, check the Java executable used by your startup command or service. Installing a new runtime doesn't necessarily change which one the server launches.
Server Heron selects the appropriate Java version when you choose your server software or install a modpack. Manually added plugins and mods still need to support that setup. If a new plugin requires an incompatible Java version, choose a compatible plugin release rather than changing the runtime blindly.
Check plugin and mod compatibility
Messages such as these identify something worth investigating:
Error occurred while enabling ExamplePlugin (Is it up to date?)
Could not pass event ... to ExamplePlugin
java.lang.NoClassDefFoundError: ...
A plugin error doesn't necessarily crash the whole server. Check whether it occurs immediately before the failure and whether the crash report implicates the same component.
For a suspect plugin:
- Check that its release supports your Minecraft version and server software.
- Check its installation instructions for dependencies.
- If the problem began after an update, use a compatible fixed release or restore the previous working setup.
- To test without it, stop the server, move its
.jaroutside thepluginsfolder and start the server again. Account for any other plugins that depend on it.
Use a full restart when testing plugin changes.
For modpacks, keep the Minecraft version, loader and pack release together. A Forge mod won't work simply because it targets the same Minecraft version as your Fabric server. Likewise, the last mod mentioned in a log isn't automatically responsible: loading can fail elsewhere.
If you're installing a pack manually, use its server files or server installation instructions. A client instance may contain mods that don't belong on a dedicated server.
Be careful when removing mods that add blocks, items or dimensions. Loading and saving a world without them can remove content. Test on a separate copy where possible, and keep a backup from before the change. Our guide to adding and removing mods on a modpack server explains the precautions.
Out of memory: confirm which limit you're hitting
These errors indicate that Java couldn't allocate enough heap memory:
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: GC overhead limit exceeded
The heap holds much of Minecraft's active game data. Loaded chunks, entities, plugins and mods all contribute to its use.
Check what was happening before the crash. Did players start exploring new terrain? Did you install a larger pack? Does memory usage grow during ordinary gameplay and remain under pressure?
To address a confirmed heap shortage:
- Reduce view and simulation distances if the server is keeping too much of the world active.
- Check recent plugins, mods and configuration changes.
- Allocate more memory if the workload needs it.
- Investigate persistent growth with a memory profiler if the server repeatedly exhausts its allocation.
Java normally uses spare heap space and later reclaims it through garbage collection. A rising graph alone doesn't prove a memory leak.
On a self-hosted server, -Xmx limits the Java heap, but the process also needs memory outside it. Leave room for that overhead, the operating system and other applications. Setting the heap equal to the machine's entire RAM can cause the operating system to terminate the process.
An abrupt stop or exit code 137 can indicate an external kill, including a memory-limit termination, but it isn't proof by itself. Check the hosting or operating-system records.
Use our Minecraft server RAM guide to assess the workload. If you're unsure whether your Server Heron plan has enough memory, contact support with the log and the time of the crash.
Watchdog timeout: find what stalled the server
A watchdog stops the server after it becomes unresponsive for too long. Vanilla may report:
A single server tick took 60.00 seconds
Paper may report:
The server has stopped responding!
The watchdog is reporting a stall, not explaining its cause. Possible triggers include a plugin stuck in a loop, slow storage, demanding chunk generation or a mod taking too long to process something.
Read the accompanying thread dump for what the server thread was doing. A plugin or mod appearing there is a lead to investigate, rather than automatic proof of a bug.
If the problem builds up gradually, capture a Spark profile while the server is struggling. Paper includes Spark from version 1.21 onward. A profile from normal gameplay after restarting may miss the workload that caused the freeze.
Disabling the watchdog doesn't resolve the stall; it can leave the server unresponsive indefinitely.
Crashes when someone joins or enters a particular area
A repeatable crash involving one player or location is useful evidence. Possible causes include a broken entity, a modded block, damaged chunk data or a plugin reacting to that player's login.
Look for coordinates, an entity type, a mod name or a region filename in the report. Use those details to choose a targeted recovery.
World and region problems
If the log reports an unreadable chunk or invalid region data, restore a known-good backup where possible. Preserve the current world first so you retain a copy of progress made since that backup.
Tools such as MCA Selector can remove selected chunks from Java worlds, but those chunks regenerate and their existing builds disappear. Work on a downloaded copy with the server stopped, and identify the affected area before deleting anything. A recently modified region file isn't, by itself, evidence that the file is damaged.
On Server Heron, Backups contains your available off-site backups. Restoring rolls backed-up files back to that point, so progress in those files made afterward is lost. Files added since the backup remain, which matters if you're trying to undo an update that introduced new mods or plugins. See making, restoring and downloading backups before proceeding.
Player-data problems
If the error specifically points to a player's saved data, try restoring that file from a working backup.
In standard Java world folders, player data uses the player's UUID as the filename:
- Before 26.1:
playerdata/<uuid>.dat - From 26.1 onward:
players/data/<uuid>.dat
Renaming the file while the server is stopped can test whether resetting that player's data allows them to join. Back it up first: resetting it can remove their inventory, ender chest contents, experience and saved position.
Don't reset player data merely because one player triggers the crash. They may be loading a broken chunk or activating a plugin bug.
Disk full: free space without deleting your world
Errors such as No space left on device mean the server can't write necessary files. This can interrupt world saves as well as prevent startup.
Check storage usage and look for old downloaded archives, redundant local backups, large logs and growing plugin databases. Download anything you need to keep before removing it.
Preserve the logs relevant to the crash. For plugin databases, use the plugin's documented cleanup procedure rather than deleting database files.
Avoid deleting region files just to make room: each contains part of your world. Once space is available, start the server and check for save or world-loading errors left by the earlier failure.
Port already in use: check the address and running process
An error such as this means the server couldn't listen on the requested address or port:
java.net.BindException: Address already in use
On a self-hosted machine, check whether another server instance is already running. Stop the correct process normally, or assign separate ports if you intend to run multiple servers. Also check that server-ip hasn't been set to an address the machine doesn't have.
On managed hosting, use the assigned connection settings. If the port remains unavailable after stopping and starting the server, contact support with the console error.
If the server still keeps crashing
Change one thing at a time and test the same trigger again. Keep a short record of the change and result; updating everything at once makes it harder to identify what helped.
If failures happen at the same time each day, compare them with scheduled commands, restarts and backups. On Server Heron, check Schedules and Activity alongside the console timestamps.
When asking for help, include:
- The server software, Minecraft version and modpack release, if applicable.
- The full relevant log and crash report.
- The time of the failure and what players were doing.
- Recent changes and the fixes you've already tested.
A service such as mclo.gs makes Minecraft logs easier to share and read. Check for passwords, tokens, private chat or other sensitive information before sharing files publicly.
Server Heron customers can open a support ticket with those details so our team can investigate the failure in context.
Once you've confirmed the fix, create a fresh backup and schedule regular backups if you haven't already. Server Heron provides three off-site backup slots, with schedules you configure yourself. Keeping a working recovery point makes the next update—or unexpected crash—much easier to handle.
