Your Minecraft game may sometimes crash with the exit code 1 error. Typically, the exit code 1 error happens when your game runs out of allocated RAM or if you have too many mods installed that are incompatible with one another. That said, it can also happen if your PC drivers are outdated or for a few other reasons.