Why is there a crash of minecraft out of memory. Out of memory Minecraft: what to do and how to get rid of this error

Many Minecraft players often face such a problem that they are thrown out of the game and out of memory Minecraft is written in the error log. What to do and how to solve this problem?

Essence of the question

In order to solve this problem and get rid of the error, you will have to try a little. In fact, there may be several reasons. So: how to get rid of out of memory (Minecraft), what to do to make the error disappear, and how to insure yourself against such problems in the future? First you need to know that this message usually appears for several reasons, and all of them are eliminated with very simple actions.

Causes

Because of what this problem may appear:

  1. The computer's RAM is too weak, because of which the computer's temporary memory cannot cope with the load, and the game world simply does not load, as a result of which a similar error is issued.
  2. If the problem is not in RAM, the computer is pretty strong, but in any case throws and writes out of memory Minecraft, what to do in this case? It's simple. Even if there is 8 gigabytes of RAM, it may be limited. In order to solve this problem, you will need to give more space to Java. How to do this, we will figure it out a little below.
  3. Perhaps the wrong version of Java was installed, that is, if the operating system is 64-bit, but the 32-bit version was installed, such problems are possible. To solve them, you need to download from the official Java website the original version for the required operating system, if it is 64-bit, therefore, you need to download for 64, and if 32 - the corresponding one. Now it's time to understand, when an out of memory (Minecraft) error appears, what to do and how to fix it.

Correction of this error

As it was written above, this problem is eliminated in a few seconds. It does not matter which operating system is used, be it Windows 7, Windows 8, Windows 10, and so on. The problem is solved in the same way. If the first problem occurs (the computer is too weak), then, alas, nothing can be fixed. Unless you install mods that reduce the graphics and the size of the world, so the problem can disappear. Or you can buy a more powerful computer. However, if it gives an out of memory error, what should I do? Minecraft kicks out on a strong computer. And everything is simple, you need to follow the instructions:

  1. Install the latest version of Java from the official site (if not installed).
  2. Go to the control panel. On Windows 10, this can be done by pressing the "Minimize + X" keys by selecting the "Control Panel" section from the list.
  3. You need to go to the "Java" settings, which are located in the "Control Panel" section. Java will be written there. It is best to keep the icons small so that it is much easier to find it.
  4. Further, when the Java settings have opened, you need to select the Java subsection and click on View. Next, in the Runtime Parameters, you need to enter the following command - Xincgc-XmxYG. Only instead of the letter Y you need to enter the number of GB of RAM. If the maximum amount is 4 GB, instead of Y you need to enter the number 2, if 8 - you need to enter 4. This will be quite enough. Here is the solution to this problem.

An out of memory error may appear in Minecraft, due to which it is impossible to continue playing. The reason is that the game does not have enough RAM allocated to it by the system.

How do I fix the error?

If a browser with many tabs is running in parallel with Minecraft, or other similar software that requires a large amount of RAM, then all this must be turned off before starting the game. It is also worth turning off mods and various "enhancers" - they can heavily load PC resources. If this does not help, then proceed as follows:

  1. Configure Java machine. Open the Java Control Panel, go to the "Java" tab, go to the "View" section. There should be one line, if there are more of them, delete everything except one arbitrary one. In the remaining line, in the "Runtime Parameters" column, write -Xms (x1) m -Xmx (x2) m, where (x1) is the minimum amount of RAM available for the Java machine, and (x2) is the maximum. It is preferable that the second value does not exceed 75% of the total amount of PC RAM. For example, if its 2 gigabytes, then the following entry -Xms750m -Xmx1500m will do. We confirm the changes by clicking on OK, then we reboot the system.
  2. Set priorities. We open the game and the Task Manager. Go to the Manager window on the Applications tab (Details), find the javaw.exe process among the lines, right-click on it, go to "Set priority" and select "High" in the drop-down menu.
  3. Lower graphics settings. This is possible if the game does not crash immediately, but after some time intervals. Lower all settings to the minimum and try to play for at least a few hours. If during this time the out of memory error did not appear in Minecraft, then proceed in two ways. You can leave everything as it was, or you can gradually increase the quality of the graphics to find the setting that caused the failure.

The "Out of Memory" error usually appears when many programs are running on the computer that use the resources available to the computer. Computer memory or RAM (random access memory) is used by the computer to quickly store data for processing.

When does this error appear?

As I noted above, launching several programs at once can overload the amount of available free memory, which will lead to an "Out of Memory" error. This can happen both with new programs and with programs already running on the computer. This can sometimes happen, regardless of the amount of free memory available.

Cause of the "Out of Memory" error

The reason for these errors is a little more complicated. The WIN32 Windows subsystem has a limited amount of available memory. If memory in the WIN32 desktop heap is in use. Windows may display an "Out of Memory" error message.

Computers that do not behave like Microsoft Windows operating systems are not overly vulnerable. This problem mainly exists for Windows NT 3.5 and Windows NT 3.1 users

How to fix the "Out of Memory" error

To fix this problem, you need to edit your Windows Registry. Editing the registry is a risky undertaking. You need to act with caution, and only strictly according to the instructions:

  • Back up your registry so you can restore it later if something goes wrong.
  • Click here to learn how to back up and restore your registry.

Follow these instructions carefully to avoid problems.

  • Increase the size of the desktop heap to fix this issue.
  • Start Registry Editor by opening the RUN dialog box by using the Windows_Key + R keyboard shortcut or from the Start menu. In the RUN dialog box, enter regedit to run Regedt32.exe.
  • From the HKEY_LOCAL_MACHINE subtree,
    Proceed to the next section:
  • \ System \ CurrentControlSet \ Control \ Session Manager \ SubSystems
  • Select Windows.
  • Choose "Row" from the "Edit" menu.
  • Increase the SharedSection parameter

From here, follow these steps depending on your operating system

For Windows NT:

  • SharedSection = XXXX, YYYY
  • Add ", 256" or ", 512" after the number yyyy.

For Windows 2000, Windows XP, and Windows Server 2003:

  • SharedSection is used to determine the size of the system and desktop, it uses the following parameters
  • SharedSection = XXXX, YYYY, ZZZZ

For 32-bit operating systems

  • Increase the yyyy value to "12288" and increase the zzzz value to "1024".

For 64-bit operating systems

  • Increase the yyyy value to "20480"; Increase the zzzz value to "1024".

Do you have your own version of a quick solution to the "Out of Memory" error? Write it in the comments form for this article, and if your option turns out to be useful, we will definitely update the guide.

Minecraft sandbox, despite its apparent simplicity, still has complex elements for the PC. The error "Minecraft has run out of memory" is proof of this. The player simply crashes in the middle of the game or cannot start it at all. Sometimes this glitch shows up after installing graphic mods. We will tell you how to fix this error.

Reasons for memory errors in the game

It all comes down to a simple lack of RAM memory. The allocated RAM is critically lacking, so the failure becomes a logical action. But there are also cases of error due to mods, so it is recommended to simply abandon them or replace them with others. But first things first.

Error "Out of memory!" in Minecraft

Fixing Out of memory in Minecraft

The first and only options are actions to optimize the PC. The computer can always adapt a little better to the game than it is at the moment. In short, we will try to redirect performance for just one Minecraft game. Let's take a look at a couple of the most powerful solutions.

RAM parameters


We prioritize

We call the "Task Manager" Ctrl + Esc + Shift with three keys. We find in "Applications" (in Windows 10 - this is the Details tab) your currently activated game (be sure to start it). By right-clicking on the expanded menu, move to the very bottom. Click on "Go to the process". Then again, through the same key on the marked process, you need to enter the "Priority". Change the parameter to high.


Fashion

Download the Optifine mod from a trusted source. This is the official software for optimizing Minecraft parameters for any computer. The main thing to always remember is that only the latest versions work most stably. Unfortunately, previous releases were too full of various bugs that did not give the desired effect. It also comes in handy for anyone looking to unleash the full potential of graphics. Allows you to adjust anti-aliasing, improve the quality of textures, brings in the ability to activate HD. For many players, optimization through this mod helped to fix the out of memory error.

Of the other methods, it remains to apply the general rules to increase PC performance. They are more suitable not for solving the error "Minecraft has run out of memory", but for increasing the FPS. Try it too, though.

  • When starting Minecraft, close all third-party applications (check startup and tray). A browser with a large number of open tabs can be very heavy on the system and there is some memory.
  • Remove or disable left-handed mods, which in large numbers can heavily load the game.
  • Use third-party utilities specially designed for games. They completely autonomously adjust all PC actions. Disable unnecessary applications, increase productivity, set the necessary priorities. One of the more convenient ones is Advanced SystemCare.
  • We go into the graphic settings of the game and lower all the indicators. Then, by trial, we increase some of them, the main thing is to find the point that becomes the reason for the departure.
  • Install the latest Java software. Make sure the x32 or x64 bit is correct.

Conclusion

The error "Minecraft has run Out of memory" is a conflict with insufficient RAM. For weak PCs, you can always buy a new, more powerful, RAM card, if you do not want to do this, you will have to increase the allocated memory for the Minecraft application, and what to do for this, we have described above.

Related articles: