Out of memory in minecraft what to do. 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... 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 doesn't matter what 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 throws on 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 with 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 maximum amount- 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.

Many PC users, while working with any program, may encounter the "crash" of the specified program, and the message "Out of memory" that appears. The problem that has arisen can have many reasons, ranging from a banal lack of memory on the user's PC, and ending with incorrect work with the memory of any program.

Out of memory error (translated literally "out of memory", or "not enough memory") usually occurs when there is insufficient memory on the user's computer. In particular, the following set of factors is "guilty" of the appearance of this error:

  • Lack of RAM on your PC(working memory, the strips of which are set to motherboard your computer). If your computer has only 1 gigabyte of memory installed, you will encounter the described error quite often. It is now considered normal to have 4 gigabytes of memory or more on a computer;
  • Lack of hard disk space.

When your computer lacks physical R.A.M. memory, it borrows part of the hard disk space, and creates the so-called "virtual memory". The system temporarily stores in such virtual memory that part of the data that does not fit in normal memory. Such data is usually stored in the file “ pagefile.sys", The size of which can increase or decrease depending on the specifics of your OS. If there is not enough disk space, the "pagefile.sys" file will not be able to grow and the user will receive an "out of memory" error.

How to fix the "Out of memory" error


An alternative solution to the "Out of memory" problem is to install the appropriate fix from Microsoft. Or using the "The Great Suspender" level browser extensions or add-ons for " Google chrome"That works well with unnecessary browser tabs.


bcdedit / set IncreaseUserVa 3072

And press enter, and restart your PC. The functionality of this command allows you to allocate 3 gigabytes to user applications random access memory for work. On some systems, this may be too much, therefore if after entering this command the system began to crash more often, then enter in command line as administrator:

bcdedit / set IncreaseUserVa 2560—That will allow using 2.5 gigabytes instead of the previously booked 3.

If this did not fix the situation, return the settings to the default state:

bcdedit / deletevalue IncreaseUserVa

Conclusion

The "Out of memory" error can have many reasons related to both physical lack of memory on the PC and other determinants I have outlined above. To solve the problem, I advise you to close unnecessary programs (browser tabs) on your computer (thereby unloading its memory), and the most effective tool is to install an additional memory bar on your PC, which in most cases will help get rid of the "Out of memory" error on your computer ...

In contact with

Minecraft sandbox, despite its apparent simplicity, still has complex elements for 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 on this moment... In short, we will try to redirect performance for only one Minecraft games... Let's take a look at a couple of the most effective 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 ways, it remains to apply 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). Browser with big amount open tabs can put a heavy load on the system and "have" some of the 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. Disconnect 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. Further, by the method of tests, we increase some of them, the main thing is to find the point that becomes the reason for the departure.
  • Install Java software by yourself latest version... 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.

We solve the problem when the "Out of Memory" pops up
If you have installed a texture pack and you have a black screen, install |
For textures, resolution 16x and 32x, McPatcher is not needed

In order not to appear "Out of Memory", you need to do the following.
Runtime Parametrs:

  1. Opening the control panel
  2. Looking for a shortcut with "Java" or "Java Control Panel"
  3. Click the "Java" tab
  4. Click "View"
  5. Check for one line only! If there are more of them, go to the next instruction.
  6. Under "Runtime Parameters" we write, for 32-bit it is recommended: -Xincgc -Xmx768M, for 64-bit you can choose at your discretion ... For example, -Xincgc -Xmx2G; -Xincgc - Xmx1512M
  7. We press "Enter"
  8. Restart your computer
For -Xmx, do not use more than 3/4 of the total computer memory.

There is another way that you can change the size of Java allocated memory.
Environment Variables:

  1. Right-click on "My Computer" and select "Properties"
  2. Select the "Advanced" tab
  3. Click on "Environment Variables"
  4. At the top, click "Create"
  5. Name: _JAVA_OPTIONS
  6. We drive the parameters you need into the value. For example, -Xincgc -Xmx2G.
And you can also run the game using a bat-file, of course, with a different Java size.
Bat file:
  1. Create a notebook. You can choose any name
  2. "% ProgramFiles% \ Java \ jre6 \ bin \ java.exe"-Xincgc -Xmx2G -jar Minecraft.exe. In quotes, you must specify the path to java.exe. Replace "Minecraft.exe" with the name of your Minecraft launcher. It is important to respect the case of letters everywhere!
  3. Open "File" in notepad
  4. Click "Save As". Choose where you will save (no matter where you save it)
  5. After the dot in the name, there must be a bat. For example, Minecraft.bat or ololo_piw_piw.bat
If you still get an error or a few lines in "Runtime Parametrs", then this instruction is for you:
  1. Removing Java from your computer
  2. We clean the registry. Registry cleaners -,
  3. Delete minecraft
  4. Download and reinstall Java. If you have a 64-bit system, install 64-bit Java. Otherwise it won't allocate as much memory as you want
  5. Putting minecraft again
  6. Go to one of the instructions
If the error still pops up, turn off the sound.
None of this helped - you have little RAM or your processor is weak.

Reference:
-Xincgc - Garbage Collecter, frees unused objects from memory.
-Xmx - Sets the maximum memory size.
-Xms - Installs minimum size memory.
Bat-file - A file containing a sequence of commands for execution by the command interpreter.
Registry - A hierarchically structured database of parameters and settings.

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 don't work like Operating Systems Microsoft Windows is 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:

  • Registry backup - so you can restore it later if something goes wrong.
  • Click here to learn how to create backup and restore the registry.

Follow these instructions carefully to avoid problems.

  • Increase the desktop heap size to fix this issue.
  • Start Registry Editor by opening the RUN dialog box with 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,
    Go 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.