SKCraft Community

Could not reserve enough space for object heap

Last updated 4 years, 3 months ago

You might see the following message in the log when you launch the game:

Error occurred during initialization of VM
Could not reserve enough space for object heap

When Java is unable to ask your computer for the amount of computer memory (RAM) that it wants, you receive this message. There's usually two reasons for this:

  • You might be using 32-bit Java, which usually means that Java cannot ask for more than 2,500 megabytes of RAM. This is the usual reason for receiving this message, even if you think you have 64-bit Java. If you are on Windows, please download 64-bit Java from this page
  • The other possible reason is that you don't actually have enough RAM in your computer. You can try to lower the amount of memory in the launcher's options. If you're playing modded Minecraft, be aware your computer may struggle if you need to reduce the memory usage.