2
Minecraft 1.17.1 java.lang.OutOfMemoryError:
Hi -
I've been getting an out of memory error which crashes Minecraft. I tried following the advice posted elsewhere to increase the heap size but that didn't seem to help. Full error log below:
---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 9/19/21, 1:14 PM
Description: mouseClicked event handler
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.ArrayList.<init>(ArrayList.java:156)
at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190)
at ng$1.a(SourceFile:40)
at ng$1.b(SourceFile:25)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at nk.a(SourceFile:108)
at nk.a(SourceFile:75)
at nk.a(SourceFile:32)
at nk.a(SourceFile:26)
at dib.a(SourceFile:238)
at dib$$Lambda$4034/0x00000008009da6f0.apply(Unknown Source)
at dib.a(SourceFile:187)
at dib.b(SourceFile:159)
at eel.a(SourceFile:93)
at eel.<init>(SourceFile:85)
at eei.b(SourceFile:63)
at eaq.b(SourceFile:387)
at dvp.a(SourceFile:984)
at eav.d(SourceFile:144)
at eav$$Lambda$3498/0x00000008008e4000.onPress(Unknown Source)
at dxa.c(SourceFile:40)
at dwu.a(SourceFile:16)
at dwy.a(SourceFile:121)
at dxx.a(SourceFile:27)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at java.base/java.util.ArrayList.<init>(ArrayList.java:156)
at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190)
at ng$1.a(SourceFile:40)
at ng$1.b(SourceFile:25)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at nk.a(SourceFile:108)
at nk.a(SourceFile:75)
at nk.a(SourceFile:32)
at nk.a(SourceFile:26)
at dib.a(SourceFile:238)
at dib$$Lambda$4034/0x00000008009da6f0.apply(Unknown Source)
-- Affected screen --
Details:
Screen name: eav
Stacktrace:
at eaq.a(SourceFile:493)
at dvq.a(SourceFile:94)
at dvq.c(SourceFile:165)
at aqv.execute(SourceFile:101)
at dvq.b(SourceFile:165)
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:165)
at dpr.e(SourceFile:310)
at dvp.f(SourceFile:1137)
at dvp.e(SourceFile:728)
at net.minecraft.client.main.Main.main(SourceFile:217)
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default
-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.1, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 660457216 bytes (629 MiB) / 905969664 bytes (864 MiB) up to 6442450944 bytes (6144 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz
Identifier: Intel64 Family 6 Model 126 Stepping 5
Microarchitecture: Ice Lake (Client)
Frequency (GHz): 1.19
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: Intel(R) UHD Graphics
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x8a56
Graphics card #0 versionInfo: DriverVersion=27.20.100.9365
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 2.67
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 2.67
Memory slot #1 type: DDR4
Virtual memory max (MB): 16956.74
Virtual memory used (MB): 9182.19
Swap memory total (MB): 8997.27
Swap memory used (MB): 0.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: 1.17.1
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) UHD Graphics GL version 3.2.0 - Build 27.20.100.9365, Intel
Window size: 854x480
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 15
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 4
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 4
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 7
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 15
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 4
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 4
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 7
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 15
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 4
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 (US)
CPU: 4x Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz
I've been getting an out of memory error which crashes Minecraft. I tried following the advice posted elsewhere to increase the heap size but that didn't seem to help. Full error log below:
---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 9/19/21, 1:14 PM
Description: mouseClicked event handler
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.ArrayList.<init>(ArrayList.java:156)
at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190)
at ng$1.a(SourceFile:40)
at ng$1.b(SourceFile:25)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at nk.a(SourceFile:108)
at nk.a(SourceFile:75)
at nk.a(SourceFile:32)
at nk.a(SourceFile:26)
at dib.a(SourceFile:238)
at dib$$Lambda$4034/0x00000008009da6f0.apply(Unknown Source)
at dib.a(SourceFile:187)
at dib.b(SourceFile:159)
at eel.a(SourceFile:93)
at eel.<init>(SourceFile:85)
at eei.b(SourceFile:63)
at eaq.b(SourceFile:387)
at dvp.a(SourceFile:984)
at eav.d(SourceFile:144)
at eav$$Lambda$3498/0x00000008008e4000.onPress(Unknown Source)
at dxa.c(SourceFile:40)
at dwu.a(SourceFile:16)
at dwy.a(SourceFile:121)
at dxx.a(SourceFile:27)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at java.base/java.util.ArrayList.<init>(ArrayList.java:156)
at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190)
at ng$1.a(SourceFile:40)
at ng$1.b(SourceFile:25)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at na.a(SourceFile:428)
at na$1.a(SourceFile:71)
at na$1.b(SourceFile:57)
at nk.a(SourceFile:108)
at nk.a(SourceFile:75)
at nk.a(SourceFile:32)
at nk.a(SourceFile:26)
at dib.a(SourceFile:238)
at dib$$Lambda$4034/0x00000008009da6f0.apply(Unknown Source)
-- Affected screen --
Details:
Screen name: eav
Stacktrace:
at eaq.a(SourceFile:493)
at dvq.a(SourceFile:94)
at dvq.c(SourceFile:165)
at aqv.execute(SourceFile:101)
at dvq.b(SourceFile:165)
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:165)
at dpr.e(SourceFile:310)
at dvp.f(SourceFile:1137)
at dvp.e(SourceFile:728)
at net.minecraft.client.main.Main.main(SourceFile:217)
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default
-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.1, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 660457216 bytes (629 MiB) / 905969664 bytes (864 MiB) up to 6442450944 bytes (6144 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz
Identifier: Intel64 Family 6 Model 126 Stepping 5
Microarchitecture: Ice Lake (Client)
Frequency (GHz): 1.19
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: Intel(R) UHD Graphics
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x8a56
Graphics card #0 versionInfo: DriverVersion=27.20.100.9365
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 2.67
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 2.67
Memory slot #1 type: DDR4
Virtual memory max (MB): 16956.74
Virtual memory used (MB): 9182.19
Swap memory total (MB): 8997.27
Swap memory used (MB): 0.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: 1.17.1
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) UHD Graphics GL version 3.2.0 - Build 27.20.100.9365, Intel
Window size: 854x480
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 15
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 4
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 4
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 7
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 15
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 4
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 4
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 7
id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error' x 15
id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error' x 4
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 (US)
CPU: 4x Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz
8
I suggest you also try asking on the Minecraft Forum. People there are usually more helpful than here, in my experience.
Isnt the forum basically dead, after it got shutdown and quietly opened up again?
longshot, maybe update drivers? they look a bit old unless im reading the log wrong
www.intel.com/content/www/us/en/products/sku/196588/intel-core-i31005g1-processor-4m-cache-up-to-3-40-ghz/downloads.html
www.intel.com/content/www/us/en/products/sku/196588/intel-core-i31005g1-processor-4m-cache-up-to-3-40-ghz/downloads.html
When is this happening? Is it when you start the game? I know that when I am using 1.17 I need to launch it a couple times before it will actually succeed. Junk software is what it is (thanks Microsoft 🙄)
Because its a mouseclick error, it could be them clicking on a button in the main menu and minecraft somehow running out of memory. This error appears to be affected by Java itself, not the game
Too bad mc isn't open source. This would be much easier to diagnose. It doesn't help that it's obfuscated 🙄
How much RAM have you allocated into minecraft? As the error says, minecraft has run out of RAM to do stuff
looks like 6GB according to the log
