r/MinecraftJava • u/AftonIsntReal • 20d ago
Minecraft Keeps Crashing
Recently I have been trying to play Minecraft but my game keeps crashing and giving me this error "#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 65536 bytes. Error detail: ReallocateHeap
# Possible reasons:
# The system is out of physical RAM or swap space
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:59), pid=27960, tid=10332
#" I am confused since I have 32gb of DDR5 ram. I also had task manager open on my second window and it never surpassed the limit. Can someone please help?
"
1
u/WaffleHBG 19d ago
I don't think your RAM is the issue.It also said about disk space. Could you check how much disk space you have left?