Mojira Archive
MC-169427

java.lang.OutOfMemoryError when clicking "Singleplayer" button

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

that's what it says after i crashed along with the crash report:

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 04/01/20 13:23
Description: 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 jz$1.a(SourceFile:46)
 at jz$1.b(SourceFile:31)
 at jt.b(SourceFile:461)
 at jt.a(SourceFile:28)
 at jt$1.a(SourceFile:68)
 at jt$1.b(SourceFile:54)
 at jt.b(SourceFile:461)
 at jt.a(SourceFile:28)
 at jt$1.a(SourceFile:68)
 at jt$1.b(SourceFile:54)
 at jt.b(SourceFile:461)
 at jt.a(SourceFile:28)
 at jt$1.a(SourceFile:68)
 at jt$1.b(SourceFile:54)
 at kd.a(SourceFile:111)
 at kd.a(SourceFile:78)
 at kd.a(SourceFile:26)
 at crm.a(SourceFile:155)
 at crm.a(SourceFile:139)
 at crm.b(SourceFile:127)
 at crm.b(SourceFile:89)
 at dji.a(SourceFile:74)
 at dji.<init>(SourceFile:66)
 at djh.init(SourceFile:46)
 at dfz.init(SourceFile:338)
 at dbl.a(SourceFile:829)
 at dgd.e(SourceFile:131)
 at dgd$$Lambda$1800/1856828350.onPress(Unknown Source)
 at dct.onPress(SourceFile:18)
 at dco.onClick(SourceFile:15)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
 at java.util.ArrayList.<init>(ArrayList.java:152)
 at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190)
 at jz$1.a(SourceFile:46)
 at jz$1.b(SourceFile:31)
 at jt.b(SourceFile:461)
 at jt.a(SourceFile:28)
 at jt$1.a(SourceFile:68)
 at jt$1.b(SourceFile:54)
 at jt.b(SourceFile:461)
 at jt.a(SourceFile:28)
 at jt$1.a(SourceFile:68)
 at jt$1.b(SourceFile:54)
 at jt.b(SourceFile:461)
 at jt.a(SourceFile:28)
 at jt$1.a(SourceFile:68)
 at jt$1.b(SourceFile:54)
 at kd.a(SourceFile:111)
 at kd.a(SourceFile:78)

-- Affected screen --
Details:
 Screen name: dgd
Stacktrace:
 at dfz.wrapScreenError(SourceFile:450)
 at dbm.a(SourceFile:86)
 at dbm.c(SourceFile:150)
 at dbm$$Lambda$2086/487566917.run(Unknown Source)
 at aip.execute(SourceFile:94)
 at dbm.b(SourceFile:150)
 at dbm$$Lambda$1473/1107677641.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:123)
 at dbl.d(SourceFile:973)
 at dbl.b(SourceFile:585)
 at net.minecraft.client.main.Main.main(SourceFile:202)

-- System Details --
Details:
 Minecraft Version: 1.15.1
 Minecraft Version ID: 1.15.1
 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: 415206616 bytes (395 MB) / 603979776 bytes (576 MB) up to 4294967296 bytes (4096 MB)
 CPUs: 4
 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
 Launched Version: 1.15.1
 Backend library: LWJGL version 3.2.2 build 10
 Backend API: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build 20.19.15.4531, 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)
 Resource Packs: vanilla
 Current Language: English (US)
 CPU: 4x Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

 

I am very confused as to how to fix this, i added more RAM through version > edit > advanced options. and made my RAM from 2GB to 4GB, half of my total ram, i even tried 5GB but it still doesn't work... please help!

Awaiting Response

shoopdawhooplag

2020-01-04, 03:24 PM

2020-10-18, 12:10 PM

2020-10-18, 12:10 PM

0

1

Unconfirmed

Crash

1.15.1

-