Minecraft Out of Memory Error: How to Fix & Free Up

Minecraft Out of Memory Fix is easily solved with these simple steps✅


Minecraft is a popular sandbox video game where players can build structures, mine resources, and explore an open world in the game’s block-based virtual environment.

The game is enjoyed by well over 100 million active players, but the fun of this game can be ruined by an error indicating that Minecraft has run out of memory.

Let’s discover together, how to free up memory on Minecraft.

Why does it say Minecraft has run out of memory?

The Minecraft memory error usually occurs when the game has exceeded the amount of memory (RAM) allocated to it by the operating system. Because the game requires a lot of memory to run smoothly, it will be unable to function properly with insufficient memory.

Other reasons why the error occurs include:

  • High video settings: This can increase the game’s demand for memory and graphics resources.
  • Background programs: Running multiple background programs that use a significant amount of memory and processing powers can cause Minecraft Out of Memory error.
  • Limited physical RAM in your computer: Having limited physical RAM can cause the game to run slowly and eventually lead to an out-of-memory error.

How do I free up memory on Minecraft?

It’s important to free up the memory on Minecraft if you want to play the game without experiencing insufficient memory errors. Here’s what to do when Minecraft runs out of memory:

1. Reduce video settings

Lowering the video setting on Minecraft can help reduce the amount of memory needed to run the game more properly. To reduce the video setting, follow the steps below:

  1. Launch Minecraft and go to Game Menu.
  2. Click the Options menu.
    minecraft options
  3. Go to Video settings.
    minecraft video settings
  4. Adjust the graphic quality and resolution to lower values.
    minecraft lower video settings

2. Remove unnecessary mods

  1. Click the Start button on your computer and type %appdata% in the search box, then open the Roaming folder.
    roaming folder
  2. Open the .minecraft folder.
    .minecraft folder
  3. Open the Mods folder and delete all unnecessary mods.
If you can’t find the Roaming folder, do the following:
  1. Exit Minecraft completely.
  2. Locate the Minecraft directory where the game is installed.
  3. Go to the “mods” folder and delete any mods that are installed.
  4. Go to the “resourcepacks” folder and delete any resource packs that are installed.
  5. Check to see if the problem has been fixed by launching Minecraft. If it hasn’t, repeat the process again and remove resource packs or mods until the problem is fixed.

3. Backup and delete Minecraft World

If you’re still getting the Minecraft has run out of memory error, try backing up and deleting your Minecraft Worlds to free space. The “out of memory” error can be fixed by making a backup of it and deleting an old Minecraft world because doing so releases resources that the game needs to function properly, such as memory and disk space, from the device. The world file in Minecraft accumulates data over time, which can slow down the game and potentially lead it to run out of memory. Here is how you do it:

  1. Go to the title screen and select Singleplayer.
    minecraft singleplayer screen
  2. Select the world you want to back up and click Edit.
    backup world in minecraft
  3. Click on Make Backup.
    make backup in minecraft
  4. Once it is backed up, go back to the World and select Delete.
    delete world in minecraft

4. Close unnecessary background apps

Closed background programs can free up system resources like RAM, which Minecraft needs to function properly. Minecraft may experience an “Out of Memory” error if there is not enough RAM available, which may result in the game crashing or performing poorly. You can give Minecraft extra RAM by shutting background programs that are not being utilized, which will lower the chance that you’ll experience this problem. Here is how you do it:

  1. Press Shift + Ctrl + Esc to open Task Manager.
  2. Click on the Processes tab.
  3. Right-click on a background app that is eating too much RAM, and select End task.
    end tasks in task manager

5. Update to the latest version of Minecraft

Sometimes Minecraft has run out of memory could be caused by bugs and compatibility issues, especially if you have allotted enough memory to the game. Updating to the latest version of Minecraft can help in this case. Here is how you do it:

  1. First, right-click the Minecraft launcher icon and run it as administrator.
    run minecraft as administrator
  2. In the launcher window, click on the drop-down menu next to the play button.
  3. Select the Latest release and click on Play.minecraft latest release
  4. Minecraft will automatically update the latest version of the game.

How to fix there is insufficient memory for the Java Runtime Environment to continue Minecraft?

The simplest way to fix insufficient memory for the Java Runtime Environment to continue on Minecraft is to allocate more memory to the Java Runtime Machine (JVM) on the Minecraft launcher. Here’s how to allocate more RAM to the Minecraft launcher:

  1. Open up the Minecraft launcher.
  2. Click on Installation.
  3. Select the Latest Release.
  4. Click on the 3 dots and select Edit.
    1 step to allocate more ram to minecraft
  5. Click on MORE OPTIONS.
    2nd step to allocate more ram to minecraft
  6. In the code under JVM ARGUMENT change the Xmx value (2G) (which represents your memory allocated to Minecraft) to the amount of memory you want to allocate to Minecraft (Example, 8G).
    3rd step to allocate more ram to minecraft
  7. Once you’re done click on Save and restart the game.

How do I get more memory on Technic Launcher?

If you use Technic Launcher to launch and play Minecraft mod packs, you can improve the performance of the game by increasing the memory allocation to Technic Launcher. Follow the steps below to get more memory on Technic Launcher:

  1. Log in to the Technic Launcher.
  2. Click Launcher Option.
    java options
  3. Click Java Settings.java setting
  4. Press the drop-down menu beside Minecraft Java Version and select 64-bit.
  5. Change your memory to 4GB.
    allocate ram technic launcher

How do I check my memory in Minecraft?

You can see how much memory you have allocated to Minecraft by simply checking your Xmx value. Here is how you do it:

  1. Open up the Minecraft launcher and click on Installation.
  2. Select the Latest Release.
  3. Click on the 3 dots and select Edit.
  4. Click on MORE OPTIONS.
    3rd step to allocate more ram to minecraft
  5. You’ll find your Xmx value under JVM ARGUMENTS. As shown in the image above the Xmx value is 2G which means we have 2 gigabytes allocated to Minecraft. 

How much RAM should I give Minecraft if I have 32 GB?

There is no specific amount of RAM you can delegate to Minecraft, but as a general rule of thumb, you should never delegate more than half of your RAM to Minecraft. So if you have 32GB you can give as much as 16GB to Minecraft.

How do you free up space on Minecraft Xbox?

To free up space on Minecraft on Xbox, the first thing you should do is delete clear saved games, as well as Xbox 360 storage.

  1. Click the Xbox button on your controller to open the side menu.
  2. Scroll to the right until you get to Profile & system tab.
  3. Scroll down to Settings and select it.
  4. Scroll down to the system on the left-hand side and go over to the right and select storage.
    xbox system
  5. Select Clear local saved games and Clear local Xbox 360 storage.
    xbox storage

For Xbox Game Pass subscribers, this method is the best because it enables continuous cloud-based game save syncing. If you don’t use Xbox Game Pass, it is advised to back up your game saves before deleting them. Additionally, you may easily make additional room for Minecraft on your Xbox by uninstalling games you no longer play.

Related articles:


Minecraft requires a lot of memory to run smoothly, so if you do not have enough physical RAM you should consider upgrading your device in order to enjoy the game. Finally, if you keep getting the Minecraft Out of Memory error even when you have enough storage, uninstall and reinstall the game and that should fix the problem.

You might also like
Leave A Reply

Your email address will not be published.