How to Fix Minecraft Exit Code -805306369 (Game Crash at Launch)
-Xmx2G to -Xmx4G in Installations, then Edit, then More Options). If that alone does not do it, update your graphics drivers, strip out broken mods, and reinstall the game cleanly. The steps below are ordered so the fastest wins come first.What exit code -805306369 means
Minecraft does not always say why it crashed in plain words. Instead, the launcher sometimes hands you an exit code — a number the operating system attaches to a process when it dies. Exit code -805306369 is what Windows reports when the Java virtual machine running Minecraft stops suddenly. Think of it as the game slamming the door without leaving a note.
Do not read too much into the exact number. What matters is the pattern behind it: in the overwhelming majority of cases, the crash comes from memory pressure. Either Minecraft was never given enough RAM to work with, or something — a heavy modpack, a shader pack, a memory leak in a bad mod, an overzealous antivirus poking at Java — chewed through what it had until there was nothing left. The game then falls over, and the launcher prints this code. The good news is that because the cause is usually one of a small handful of suspects, this error is very fixable. You do not need to reinstall Windows or buy new hardware.
Common causes
- Too little RAM allocated to Minecraft: the default allocation is 2 GB, and vanilla Minecraft usually survives on it — but add a modpack, high-resolution textures, or shaders, and 2 GB gets eaten alive. When Java hits the ceiling, the game crashes with this exact code.
- System-wide memory pressure: even with enough allocated, Minecraft can crash if Windows itself is starved. Chrome with 40 tabs, Discord, OBS, and a video render running in the background all drink from the same pool the game needs.
- Broken or outdated mods and shaders: a single mod built for the wrong game version can leak memory or corrupt the loading process. This is the classic cause for players whose crashes started right after adding a new mod.
- Outdated or corrupted graphics drivers: drivers translate what the game asks for into something your GPU understands. A broken driver can corrupt the game's memory at render time, producing a crash that looks identical to running out of RAM.
- Corrupted game files or a bad Java install: if core Minecraft files or the Java runtime itself are damaged, the game can crash at launch before memory is even the issue. This is the suspect when the crash happens every single time, instantly.
How to fix exit code -805306369 — step by step
Work through these in order. Step one and two together fix the problem for most players; the rest handle the stubborn cases.
- Restart your PC and close memory-hungry programs. Shut down your PC completely instead of just sleeping it, then power it back on. Before launching Minecraft, close browsers with dozens of tabs, video editors, streaming software, and anything else eating RAM, so the game starts with a clean pool of memory.
- Give Minecraft more RAM in the launcher. Open the Minecraft Launcher, go to Installations, hover your version, click the three dots, then Edit, then More Options. Find the JVM argument starting with
-Xmx2Gand change it to-Xmx4Gfor 4 GB. Save and relaunch. Never assign more than half of your total system RAM. - Update your graphics drivers. Download the latest drivers for your GPU: GeForce Experience or nvidia.com for NVIDIA, AMD Software Adrenalin for AMD, or the Intel Driver and Support Assistant for Intel. Install, restart your PC, and launch Minecraft again.
- Remove mods and test the vanilla game. Move every mod and shader out of the .minecraft mods and shaderpacks folders (or rename the folders) and launch a clean vanilla world. If the crash disappears, add mods back one by one to find the broken one. Update every mod to match your exact game version.
- Reinstall Minecraft from scratch. Back up your .minecraft saves folder to your desktop first. Uninstall Minecraft through Windows Settings, delete the leftover .minecraft folder in
%appdata%, then download a fresh installer from minecraft.net and reinstall. Fresh files remove corruption that repairs cannot reach. - Whitelist Minecraft in your antivirus and update Java. Add the Minecraft launcher and the .minecraft folder to your antivirus exclusions, then install the latest Java runtime from java.com and restart your PC. Security software that interferes with Java can crash the game, and an old Java install can too.
Did this fix it? Quick checklist
- Your PC was fully restarted and memory-hungry programs (browsers, stream software, editors) are closed before launching Minecraft
- The launcher allocates 4 GB of RAM (-Xmx4G) or more, but not more than half of your total system RAM
- Graphics drivers are up to date, mods match your exact game version, and a vanilla test world launches without crashing
- Minecraft is whitelisted in your antivirus, Java is current, and the game was reinstalled cleanly if nothing else worked
If the exit code is gone after any of these steps, that step found your culprit — keep the change. One caution about step two: it is tempting to give Minecraft 12 or 16 GB because more must be better. It is not. Over-allocating steals memory from Windows itself, the operating system starts paging to disk, and the game runs worse than before. Four gigabytes is the sweet spot for most modded setups; go to six or eight only if a specific heavy modpack asks for it, and only if your PC has the headroom.
Frequently asked questions
What does Minecraft exit code -805306369 mean?
It means the Java engine running Minecraft crashed, almost always because it ran out of usable memory. The number looks intimidating, but it is simply how Windows reports that the game process died unexpectedly.
Is exit code -805306369 a virus?
No. This code is not a sign of malware — it is Minecraft's own crash report. The one exception is shady third-party launchers and cracked clients, which can be unstable and memory-hungry, so stick to the official launcher.
How much RAM should I give Minecraft?
For vanilla Minecraft, the default 2 GB (-Xmx2G) is usually fine. With mods or shaders, 4 GB is the sweet spot for most PCs. Never assign more than about half of your total system RAM, or Windows starts struggling and the game runs worse.
Why does it still crash when I have plenty of RAM?
RAM you own and RAM Minecraft can use are two different things. A corrupt graphics driver, a broken mod, or a bad Java install can crash the game before memory even becomes the issue. Work through the driver, mod, and reinstall steps in this guide — they cover exactly this case.
Will reinstalling Minecraft delete my worlds?
A normal uninstall leaves the .minecraft folder, including your saves, in place — but do not trust it. Copy .minecraft/saves to your desktop before you uninstall. Restoring a backed-up world takes seconds; rebuilding one takes weeks.