The Minecraft Has Run Out of Memory Crash

 

Chances are, at one time or another, everyone who has played Minecraft will have encountered the “Minecraft Has Run Out of Memory” error before. For most players the Minecraft client will run out of memory every once in while through glitches in the game, big explosions or over-complicated Redstone machinery.

However, for some players the Out of Memory crash will display much more often, perhaps attributed to poor PC performance or a low amount of RAM being available on your PC. On this page I’m going to outline some of the best ways avoid your computer running out of memory when playing Minecraft in the future.

Minecraft Has Run Out of Memory

How to Allocate More RAM to Minecraft

The most commonly cited way of avoid the Minecraft Has Run Out of Memory error is to allocate more memory to your Minecraft client. In the past this was relatively complicated and involved creating .bat files and files. However in the new version of the Minecraft client it is much easier. The new process of allocating more RAM to Minecraft is outlined below:

  1. Open up the Minecraft launcher as normal.
  2. In the bottom left hand corner, before logging in click the Edit Profile… button.
  3. At the bottom of the new menu tick the JVM Arguments box.
  4. You will now be able to alter the box to the right, which will usually say “-Xmx1G” by default.
  5. Change the “1G” at the end to any other value, such as 2G to allocate an extra GB of RAM to Minecraft, up to a maximum of how much RAM you have on your computer.
  6. Click the Save Profile button in the bottom right.

You will now be able to load up a world in Minecraft, press F3 and consult with the amount of memory currently being used and allocated to Minecraft by checking the values on the top right of your screen.

This is usually the most effective way of preventing the Minecraft Has Run Out of Memory error from reoccurring. If for some reason you are running an older version of Minecraft then we have a full guide on how to allocate more RAM to Minecraft here.

Running Minecraft on the Lowest Settings

Whilst it may not be glamorous, often the best way to prevent Minecraft running out of memory is to simply lower the video settings. This fix is especially useful for users who don’t have any extra RAM on their computers to allocate to Minecraft. The video settings that you will want to use are listed below:

  • Graphics: Fast
  • Render Distance: 2 Chunks
  • Smooth Lighting: Off
  • Particles: Off

You will also want to play around with your Advanced OpenGL setting. We have a full guide on the Advanced OpenGL setting and how it affects your performance here.

Changing Minecraft Priority in Task Manager

One final way that I advise players use to prevent Minecraft showing the Out of Memory crash is to change the priority of the Minecraft program in the Task Manager. Follow the below steps to make running Minecraft the main priority for your computer:

  1. Load up a Minecraft world and pause the game.
  2. Open up the Task Manager by pressing Ctrl + Shift + Esc
  3. Right click on the Minecraft.exe, java.exe or javaw.exe program.
  4. Hover over Priority and select High or Realtime.
  5. Close the Task Manager.

With Minecraft having the highest priority on your machine it will receive the most of your computer’s resources, allowing you to make the most out of what you have. Ultimately, this will mean that more RAM will be allocated to Minecraft than it would have been otherwise, and this in turn will prevent the Minecraft Has Run Out of Memory error from happening as often.

Share on FacebookTweet about this on TwitterShare on Google+Email this to someoneShare on RedditPin on PinterestShare on TumblrShare on StumbleUpon