mojira.dev
MC-219475

game crashes when trying to play

I can launch the game just fine but whenever I click singleplayer it says "Saving World" and closes itself and then the launcher shows this error message

The game crashed whilst mouseclicked event handler
Error: java.lang.OutOfMemoryError: Java heap space
Exit Code: -1

the crash report says this 


Minecraft Crash Report -------- Minecraft Crash Report ----// Shall we play a game?
Time: 3/13/21 9:58 PMDescription: mouseClicked event handler
java.lang.OutOfMemoryError: Java heap space at java.util.ArrayList.<init>(ArrayList.java:152) at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190) at mj$1.a(SourceFile:47) at mj$1.b(SourceFile:32) at md.b(SourceFile:471) at md.a(SourceFile:32) at md$1.a(SourceFile:83) at md$1.b(SourceFile:69) at md.b(SourceFile:471) at md.a(SourceFile:32) at md$1.a(SourceFile:83) at md$1.b(SourceFile:69) at md.b(SourceFile:471) at md.a(SourceFile:32) at md$1.a(SourceFile:83) at md$1.b(SourceFile:69) at mn.a(SourceFile:108) at mn.a(SourceFile:75) at mn.a(SourceFile:32) at mn.a(SourceFile:26) at cyg.a(SourceFile:229) at cyg$$Lambda$3001/889274961.apply(Unknown Source) at cyg.a(SourceFile:178) at cyg.b(SourceFile:157) at dsm.a(SourceFile:91) at dsm.<init>(SourceFile:83) at dsj.b(SourceFile:48) at dot.b(SourceFile:325) at djz.a(SourceFile:922) at doy.d(SourceFile:141) at doy$$Lambda$2682/1896985362.onPress(Unknown Source) at dlj.b(SourceFile:33)

A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
– Head --Thread: Render threadStacktrace: at java.util.ArrayList.<init>(ArrayList.java:152) at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190) at mj$1.a(SourceFile:47) at mj$1.b(SourceFile:32) at md.b(SourceFile:471) at md.a(SourceFile:32) at md$1.a(SourceFile:83) at md$1.b(SourceFile:69) at md.b(SourceFile:471) at md.a(SourceFile:32) at md$1.a(SourceFile:83) at md$1.b(SourceFile:69) at md.b(SourceFile:471) at md.a(SourceFile:32) at md$1.a(SourceFile:83) at md$1.b(SourceFile:69) at mn.a(SourceFile:108)
– Affected screen --Details: Screen name: doyStacktrace: at dot.a(SourceFile:438) at dka.a(SourceFile:92) at dka.c(SourceFile:162) at dka$$Lambda$2987/235872963.run(Unknown Source) at aob.execute(SourceFile:94) at dka.b(SourceFile:162) at dka$$Lambda$2344/1979001148.invoke(Unknown Source) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:102) at dez.e(SourceFile:308) at djz.e(SourceFile:1068) at djz.e(SourceFile:681) at net.minecraft.client.main.Main.main(SourceFile:215)
– System Details --Details: Minecraft Version: 1.16.5 Minecraft Version ID: 1.16.5 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 481995424 bytes (459 MB) / 704643072 bytes (672 MB) up to 2147483648 bytes (2048 MB) CPUs: 4 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Launched Version: 1.16.5 Backend library: LWJGL version 3.2.2 build 10 Backend API: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.5161, Intel GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Graphics mode: fancy Resource Packs: vanilla Current Language: English (Canada) CPU: 4x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz

 

 

 

PLEASE HELP

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MC-202568, 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

Joe Weaver

(Unassigned)

Unconfirmed

(Unassigned)

1.16.5

Retrieved