More Info: How to Fix java.lang.OutOfMemoryError in Minecraft
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
whenever i click single player on minecraft it says saving world and crashed here is the crash report
---- Minecraft Crash Report -------- Minecraft Crash Report ----// Surprise! Haha. Well, this is awkward.
Time: 2/26/21 1:08 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$3123/480018206.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.lambda$addSingleplayerMultiplayerButtons$4(MainMenuScreen.java:192) at doy$$Lambda$2781/2018975718.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)
-- Affected screen --Details: Screen name: doyStacktrace: at dot.a(SourceFile:438) at dka.a(SourceFile:92) at dka.c(SourceFile:162) at dka$$Lambda$3109/468620025.run(Unknown Source) at aob.execute(ThreadTaskExecutor.java:104) at dka.b(SourceFile:162) at dka$$Lambda$2432/655702946.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.glfwWaitEventsTimeout(GLFW.java:3174) at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:127) at djz.e(SourceFile:1071) at djz.e(SourceFile:681) at net.minecraft.client.main.Main.main(SourceFile:215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:159) at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
-- System Details --Details: Minecraft Version: 1.16.4 Minecraft Version ID: 1.16.4 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: 618487968 bytes (589 MB) / 872415232 bytes (832 MB) up to 2147483648 bytes (2048 MB) CPUs: 12 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.4-OptiFine_HD_U_G5 Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 1660 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 457.51, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Very likely; Jar signature invalidated Type: Client (map_client.txt) Graphics mode: fancy Resource Packs: Current Language: English (US) CPU: 12x AMD Ryzen 5 3600 6-Core Processor OptiFine Version: OptiFine_1.16.4_HD_U_G5 OptiFine Build: 20201106-171901 Render Distance Chunks: 23 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.6.0 NVIDIA 457.51 OpenGlRenderer: GeForce GTX 1660 Ti/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 12
here's the other part The game crashed whilst mouseclicked event handler
Error: java.lang.OutOfMemoryError: Java heap space
Exit Code: -1
Minecraft ran out of memory, allocate some more to it.
Mapping and Modding rules | Global rules
how?
Here's a video that shows you how to do that:
Mapping and Modding rules | Global rules
k thanks it works know