Out of memory

OutOfMemoryError: Java heap space

What the log looks like

java\.lang\.outofmemoryerror: *java heap space
out of memory[^\n]{0,40}heap

How to fix it

  1. Raise the allocated memory in your launcher (-Xmx)
  2. Do not give Minecraft more than about half your physical RAM
  3. A modpack that needs more than 8 GB usually has one mod leaking, not a RAM problem
SeverityStops the game
CategoryOut of memory

Check your own log

Related errors