Affects Version/s: 2.1.1216 (Windows) / 2.1.1217 (Mac OS) / 2.1.1218 (Linux)
Fix Version/s: None
Java Version 8 Update 171
My Minecraft says 'The game crashed whilst initializing game Error: java.lang.OutOfMemoryError: Java heap space' whenever I want to play the game. I am using the latest version of Minecraft 1.12.2, and latest version of Java. I've also looked it up on Youtube and other websites to help me out. None seem to have helped my problem. I can open my launcher, but once I click play and let it load, it closes down then gives me the message error. I also deleted the game and redownloaded it as well as made sure I'm on the latest Java, but still the same result.
More background info:
This has happened to me before on the 28th of June. I changed -Xmx1G to -Xmx2G, it let me launch and play the game. I may have side stepped the problem due to the fact that it's giving me another error.
I had enabled snapshots for the new update 1.13-pre5 when the error first occurred, and I am aware 1.13-pre6 is out, possibly making this error occur.
I have no mods, resource packs, nor server resource packs
I have viewed suggested duplicates, as well as other reports that seem more of a "duplicate" than those suggested, but none have helped me in my issue
Please help! I just want to play Minecraft again. Any info is greatly appreciated.