MinecraftHub.io
Troubleshooting

Fix Minecraft when it keeps crashing on Java and Bedrock

A step-by-step fix for Minecraft crashing on start or mid-play. Covers crash reports, mods, memory, drivers and a fresh install on Java, with separate Bedrock steps.

Published Checked

When Minecraft keeps crashing, work from cheapest to most disruptive: restart, read the crash report, disable mods, check memory, update drivers, then reinstall. Java mods run only on Java Edition and never on Bedrock Edition, so the mod steps below are Java only. If the launcher itself throws a numbered error, go to Minecraft exit code 1 instead.

Quick fixes to try first

These apply to both editions and take minutes. For a wider list of general causes, the beginner troubleshooting checklist covers more ground.

  • Sign out of Minecraft, close the Microsoft Store and Xbox app, then restart your device and router (wait 20 seconds with the router and modem off).
  • Use a personal device. Work or school devices can have restrictions that stop Minecraft running properly.
  • Check that free storage and memory meet the minimum requirements.
  • Install pending operating system updates and close other programs that use memory or processor time.
  • Make sure Minecraft is on the latest release. Updating on Java and Bedrock is a short job.

Read the crash report and spot the mod

A crash produces a crash report, a log, or on a hard JVM crash an hs_err file. Reading them by hand is slow, so two Java mods do the first pass. Crash Assistant opens a window after the crash showing all affected logs, crash reports and hs_err files, then analyses them for known causes. Not Enough Crashes lists the mods involved in a crash, lets you click through to each one's issue tracker, and returns you to the title screen instead of closing Minecraft.

Whatever tool you use, look for the lines that name a mod or a cause. Crash Assistant recognises these among others.

  • DuplicatedMods, meaning several versions of the same mod are installed.
  • MissingUnsupportedDependencies or LanguageProviderMismatch, meaning a dependency is missing or a mod wants a different Forge or NeoForge release.
  • MixinApply, a wide family of crashes from Mixin conflicts or a missing class.
  • UnsupportedClassVersion, meaning a mod was compiled with a newer Java than the one in use.
  • OutOfMemoryError, meaning Minecraft ran out of allocated RAM.
  • Driver files in an hs_err report, such as nvoglv64.dll (Nvidia), atio6axx.dll (AMD) or ig7icd64.dll (old Intel graphics).

Trade-offs are plain. Crash Assistant is tagged client-side and does nothing on a server. Its licence is All Rights Reserved unless stated otherwise. It has Fabric builds for 1.6.4 to 26.3, Forge for 1.7.10 to 26.3, NeoForge for 1.19 to 26.3 and Quilt for 1.16.5 to 26.3, with no required dependencies. Not Enough Crashes covers Fabric 1.16.5 to 26.3, NeoForge 1.20.6 to 26.3 and Quilt 1.18.2 to 26.3. Its Forge builds have stopped, at 1.20.4 with a final 1.20.1 build in May 2025.

Fix crashes caused by mods

Disable and re-add mods one at a time and watch for the crash to return. The mod that brings it back is your culprit. Before that, rule out the common setup errors.

  • Every mod must match your loader (Fabric, Forge, NeoForge or Quilt) and the same Minecraft release. See how to install mods on Java.
  • Required dependencies go in the same mods folder as the mod. Library mods are the usual missing piece.
  • Remove duplicate copies of one mod.
  • Crash Assistant flags OptiFine as a frequent source of incompatibilities and Rubidium as abandoned (it suggests Embeddium).
  • If you run Fabric, update Fabric Loader and your mods together.

Check memory allocation and Java settings

Memory that does not fit your system or the release requirements causes crashes, lag and stuttering. After 26.1-snapshot-2 the default allocation for Java Edition moved from 2 GB to 4 GB, so a machine with less than 4 GB of RAM must set it back to 2 GB. With 4 GB of RAM or less, use 2 GB. With 8 GB or more, you can raise it.

  1. 1.Check your installed RAM. On Windows use Start menu > Settings > System > About. On macOS use the Apple icon > About This Mac.
  2. 2.Open the Minecraft Launcher, sign in, and select Minecraft: Java Edition on the left.
  3. 3.Open the Installations tab and select the installation you want to change.
  4. 4.Select More Options on the Edit installation screen.
  5. 5.Copy the whole JVM arguments field into Notepad or TextEdit and save it, so you can restore it.
  6. 6.Change the number in `-Xmx2G` to the amount you want, for example `-Xmx4G` for 4 GB.
  7. 7.Select Save.

On a 64-bit system, half of your RAM is the ceiling to stay under. On a 32-bit system, 4 GB is the maximum. If Minecraft then fails to launch, compare the field with your saved copy for typos or case differences. More detail is in allocating more RAM and how much RAM Minecraft needs. If a report mentions a Java class version error, update Java.

Update graphics drivers and lower video settings

Install the newest graphics driver directly from AMD, NVIDIA or Intel, depending on your graphics processor. Crash Assistant also warns when Minecraft runs on an integrated GPU although a dedicated one is available. Then open Options > Video Settings and restart after each change.

  • Graphics: Fast if it is Fancy or Fabulous.
  • Render Distance below the default of 12 chunks.
  • Smooth Lighting: Off.
  • Chunk Builder: Threaded instead of Fully Blocking or Semi Blocking.
  • Clouds: Fast if set to Fancy.

If this helps, raise the settings back gradually. For frame rate problems rather than crashes, see fixing Minecraft lag.

Create a clean Minecraft installation

A corrupt installation or odd advanced settings can crash Minecraft in ways no log makes obvious. A new installation tests this without touching the old one.

  1. 1.Open the Minecraft Launcher, sign in, and select Minecraft: Java Edition.
  2. 2.Open the Installations tab and select New installation.
  3. 3.Name it and pick the same release as the world that crashes.
  4. 4.Uncheck Launch after Install if you want to start it yourself, then select Install.

If the new installation launches, the fault is in your downloaded mods or advanced settings on the old one. You can copy the new installation's defaults across, including the resolution and JVM arguments.

Fix Minecraft crashing on Bedrock

Java mods cannot be loaded on Bedrock, so add-ons are the only extra content to rule out. The fixes below are simpler than on Java.

  • Disable add-ons, then re-add them one at a time to find the one that crashes it. If add-ons are the problem, see fixing add-ons that do not work.
  • Update Minecraft and your operating system, and update graphics drivers on a PC.
  • Free up storage and close other apps.
  • On a phone or tablet, unplug the charger, since charging devices can overheat or lose processing power.
  • Lower the Bedrock video settings.
  • As a last step, uninstall and reinstall Minecraft after backing up your worlds.

Frequently asked questions

Why does Minecraft keep crashing on startup?

On Java Edition, the common causes are a mod that does not match your loader or Minecraft release, a missing dependency, duplicate mods, too little allocated memory, or an outdated graphics driver. Remove mods first, then check the JVM memory value, then update drivers. A fresh installation tells you whether the old one is damaged.

How do I find which mod is crashing Minecraft?

Install Crash Assistant or Not Enough Crashes. Both read the crash and point to known causes or list the mods involved. Without a tool, remove mods and add them back one at a time. The mod that brings the crash back is the cause, or it needs a dependency or a matching update.

How much memory should I give Minecraft?

With 4 GB of RAM or less, use 2 GB. With 8 GB or more you can allocate more, up to half your RAM on a 64-bit system. Change the `-Xmx` value in the JVM arguments field of your installation, and keep a saved copy of the original text.

Resources mentioned.

Related guides.