How to fix Java running out of memory in Minecraft

Java

Video is ready, Click Here to View ×


-XINCGC -XMX(number of ram in MB)M

This will not only fix the Java running out of memory problem, but it will also make Minecraft run a lot faster.

I recommend using half of your ram, so your computer does not get slower because of Java.

This will work on Windows 7, Vista, and XP, you will just have to look harder. I don’t know if it will work on a Mac.

40 thoughts on “How to fix Java running out of memory in Minecraft

  1. Guys the reason this isn't working is because you need 64 bit Java. If you have 32 bit Java it limits the memory usage to 1024 mb of memory. You might think you already have 64 bit, but go back and be 100 percent sure because for some reason Java downloads as 32 bit by default. Look for the Java download that says windows offline 64 bit.

  2. Can ANYONE asking about how much to put in the text box read or do math?
    It's quite simple: just divide the amount of ram you have installed by two! How hard can it be?

Leave a Reply

Your email address will not be published. Required fields are marked *