Whenever I try to load the game by pressing play on the launcher, the launcher loads like normal, but then reopens with a crash report showing. it says
"The game crashed whilst initializing game
Error: java.lang.OutOfMemoryError: Java heap space"
i have looked up how to fix it but none have worked? I'm not sure how to fix it and do not want to switch to the Windows 10 version of Minecraft
Related issues
Attachments
Comments


Hello! We're sorry you're experiencing this problem. In order to diagnose the problem, we need to look at your launcher log file. Reproduce the error again, then find your log file - it's called launcher_log.txt, and can be found in your Minecraft folder. Please attach it to this bug report.

https://bugs.mojang.com/browse/MCL-11450?focusedCommentId=566238&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-566238
i have added my launcher log

This log file does not show any attempt at starting the game. Please attach a log from a run of the launcher that actually has the error.

i added a crash file? hope this helps, and sorry for any inconvenience

Thank you for your report!
We're tracking this issue in MC-12949, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit