mojira.dev
MC-230429

Can start the game

When i start game i get this message:

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

full crash report:


Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 27. 06. 2021. 16:32
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:229)
at dib$$Lambda$4037/0x000000010099f068.apply(Unknown Source)
at dib.a(SourceFile:178)
at dib.b(SourceFile:157)
at eek.a(SourceFile:93)
at eek.<init>(SourceFile:85)
at eeh.b(SourceFile:63)
at eap.b(SourceFile:387)
at dvo.a(SourceFile:986)
at eau.d(SourceFile:144)
at eau$$Lambda$3439/0x00000001008d7480.onPress(Unknown Source)
at dwz.c(SourceFile:40)
at dwt.a(SourceFile:16)
at dwx.a(SourceFile:121)
at dxw.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:229)
at dib$$Lambda$4037/0x000000010099f068.apply(Unknown Source)

– Affected screen –
Details:
Screen name: eau
Stacktrace:
at eap.a(SourceFile:493)
at dvp.a(SourceFile:94)
at dvp.c(SourceFile:165)
at aqu.execute(SourceFile:101)
at dvp.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 dpq.e(SourceFile:310)
at dvo.f(SourceFile:1139)
at dvo.e(SourceFile:730)
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
Minecraft Version ID: 1.17
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: 1903544240 bytes (1815 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
Identifier: Intel64 Family 6 Model 58 Stepping 9
Microarchitecture: Ivy Bridge (Client)
Frequency (GHz): 3,19
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 4
Graphics card #0 name: AMD Radeon HD 7700 Series
Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #0 VRAM (MB): 1024,00
Graphics card #0 deviceId: 0x683d
Graphics card #0 versionInfo: DriverVersion=27.20.1034.6
Memory slot #0 capacity (MB): 4096,00
Memory slot #0 clockSpeed (GHz): 1,33
Memory slot #0 type: DDR3
Virtual memory max (MB): 9211,45
Virtual memory used (MB): 7255,13
Swap memory total (MB): 5151,98
Swap memory used (MB): 322,73
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.17
Backend library: LWJGL version 3.2.2 build 10
Backend API: AMD Radeon HD 7700 Series GL version 3.2.13596 Core Profile Forward-Compatible Context 20.10.35.02 27.20.1034.6, ATI Technologies Inc.
Window size: 854x480
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Graphics mode: fast
Resource Packs: vanilla
Current Language: English (US)
CPU: 4x Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz

Linked issues

Comments 6

Oh no! 

crazymoose77756

Does the same thing happen if you allocate more memory to your game?
You can do this by going to the Minecraft Launcher, go to the Installations tab then find your game version. Hover over it and press the button that has 3 dots. Press "Edit" then "More Options" and go to JMV-Arguments and change -Xmx2G to -Xmx4G

crazymoose77756 I tried what you suggested and it does the same thing.

Thank you for your report!
We're tracking this issue in MC-229722, 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! If you think it was incorrect, please notify us on Discord or Reddit

Hey, I understand this issue is tagged a resolved and :

  • there is no resolution.

  • there is no workaround

  • there is on suggestion to add more memory and it does not work.

So why is it marked as resolved and there is no resolution ?

@unknown, if you require further assistance regarding this issue, please approach Community Support.

Lili

(Unassigned)

Unconfirmed

(Unassigned)

1.17

Retrieved