I get this error every time I press single player. I have no mods, have allocated more space to JAVA, allocated more space to Minecraft from launch options, have uninstalled and reinstalled the game, nothing has worked. Please please please help.
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 he.a(SourceFile:66)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at hi.a(SourceFile:119)
at hi.a(SourceFile:84)
at hi.a(SourceFile:27)
at cbp.a(SourceFile:95)
at cbp.c(SourceFile:87)
at cbm.b(SourceFile:66)
at cms.g(SourceFile:35)
at cms.<init>(SourceFile:27)
at cmq.c(SourceFile:48)
at cjs.a(SourceFile:312)
at cfi.a(SourceFile:756)
at cjx$4.a(SourceFile:212)
at cgj.mouseClicked(SourceFile:103)
at chf.mouseClicked(SourceFile:46)
at cjx.mouseClicked(SourceFile:352)
at cfk.b(SourceFile:83)
at cfk$$Lambda$925/849575186.run(Unknown Source)
at cjs.a(SourceFile:430)
at cfk.a(SourceFile:83)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at java.util.ArrayList.<init>(ArrayList.java:152)
at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190)
at he.a(SourceFile:66)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at hi.a(SourceFile:119)
at hi.a(SourceFile:84)
at hi.a(SourceFile:27)
at cbp.a(SourceFile:95)
at cbp.c(SourceFile:87)
at cbm.b(SourceFile:66)
at cms.g(SourceFile:35)
at cms.<init>(SourceFile:27)
at cmq.c(SourceFile:48)
-- Affected screen --
Details:
Screen name: cjx
Stacktrace:
at cjs.a(SourceFile:433)
at cfk.a(SourceFile:83)
at cfk$$Lambda$774/1057418208.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:3029)
at cfs.a(SourceFile:308)
at cfi.c(SourceFile:872)
at cfi.a(SourceFile:392)
at net.minecraft.client.main.Main.main(SourceFile:144)
-- System Details --
Details:
Minecraft Version: 1.13
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 350642984 bytes (334 MB) / 520093696 bytes (496 MB) up to 4294967296 bytes (4096 MB)
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=16M
Launched Version: 1.13
LWJGL: 3.1.6 build 14
OpenGL: Intel(R) HD Graphics 5500 GL version 4.4.0 - Build 20.19.15.4463, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
See if you have -Xmx256 or -Xmx512M in the _JAVA_OPTIONS variable in your environment settings, To remedy this,
Uninstall Razer Synapse / Cortex if you have it
Press the Windows key and the Pause/Break key simultaneously
A window should popup, click on "Advanced system settings"
Click on "Environment Variables"
Delete the _JAVA_OPTIONS entry.
Rollback Post to RevisionRollBack
Say something silly, Laugh 'til it hurts, Take a risk, Sing out loud, Rock the boat, Shake things up, Flirt with disaster, Buy something frivolous, Color outside the lines, Cause a scene, Order dessert, Make waves, Get carried away, Have a great day!
Something in the game is attempting to allocate over 3.5 GB of memory all at once since less than 512 MB out of 4 GB has been allocated (the JVM will simply return an out of memory error if something tries to allocate more than is available without actually attempting to allocate it so used memory can be misleading; the game definitely should not be trying to allocate that much memory at once):
Memory: 350642984 bytes (334 MB) / 520093696 bytes (496 MB) up to 4294967296 bytes (4096 MB)
I have no idea what could be causing this other than an issue with the game files but you say that you already tried reinstalling the game (the launcher should also verify file integrity with the exception of modded instances so I'm doubtful of any issues with the game itself, possibly a bad configuration file though - try deleting options.txt just in case as this is a very common cause of issues).
I get this error every time I press single player. I have no mods, have allocated more space to JAVA, allocated more space to Minecraft from launch options, have uninstalled and reinstalled the game, nothing has worked. Please please please help.
Crash report
---- Minecraft Crash Report ----
// Would you like a cupcake?
Time: 2018/08/15 7:20 PM
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 he.a(SourceFile:66)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at hi.a(SourceFile:119)
at hi.a(SourceFile:84)
at hi.a(SourceFile:27)
at cbp.a(SourceFile:95)
at cbp.c(SourceFile:87)
at cbm.b(SourceFile:66)
at cms.g(SourceFile:35)
at cms.<init>(SourceFile:27)
at cmq.c(SourceFile:48)
at cjs.a(SourceFile:312)
at cfi.a(SourceFile:756)
at cjx$4.a(SourceFile:212)
at cgj.mouseClicked(SourceFile:103)
at chf.mouseClicked(SourceFile:46)
at cjx.mouseClicked(SourceFile:352)
at cfk.b(SourceFile:83)
at cfk$$Lambda$925/849575186.run(Unknown Source)
at cjs.a(SourceFile:430)
at cfk.a(SourceFile:83)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at java.util.ArrayList.<init>(ArrayList.java:152)
at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190)
at he.a(SourceFile:66)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at gy.a(SourceFile:437)
at gy.a(SourceFile:81)
at hi.a(SourceFile:119)
at hi.a(SourceFile:84)
at hi.a(SourceFile:27)
at cbp.a(SourceFile:95)
at cbp.c(SourceFile:87)
at cbm.b(SourceFile:66)
at cms.g(SourceFile:35)
at cms.<init>(SourceFile:27)
at cmq.c(SourceFile:48)
-- Affected screen --
Details:
Screen name: cjx
Stacktrace:
at cjs.a(SourceFile:433)
at cfk.a(SourceFile:83)
at cfk$$Lambda$774/1057418208.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:3029)
at cfs.a(SourceFile:308)
at cfi.c(SourceFile:872)
at cfi.a(SourceFile:392)
at net.minecraft.client.main.Main.main(SourceFile:144)
-- System Details --
Details:
Minecraft Version: 1.13
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 350642984 bytes (334 MB) / 520093696 bytes (496 MB) up to 4294967296 bytes (4096 MB)
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=16M
Launched Version: 1.13
LWJGL: 3.1.6 build 14
OpenGL: Intel(R) HD Graphics 5500 GL version 4.4.0 - Build 20.19.15.4463, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
See if you have -Xmx256 or -Xmx512M in the _JAVA_OPTIONS variable in your environment settings, To remedy this,
Something in the game is attempting to allocate over 3.5 GB of memory all at once since less than 512 MB out of 4 GB has been allocated (the JVM will simply return an out of memory error if something tries to allocate more than is available without actually attempting to allocate it so used memory can be misleading; the game definitely should not be trying to allocate that much memory at once):
I have no idea what could be causing this other than an issue with the game files but you say that you already tried reinstalling the game (the launcher should also verify file integrity with the exception of modded instances so I'm doubtful of any issues with the game itself, possibly a bad configuration file though - try deleting options.txt just in case as this is a very common cause of issues).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?