How to set up smartphones and PCs. Informational portal
  • home
  • Safety
  • How to give the game more RAM. Instructions: how to allocate more RAM for Minecraft

How to give the game more RAM. Instructions: how to allocate more RAM for Minecraft

Minecraft, despite its apparent visual simplicity, is a rather resource-intensive game. It is written in Java and consumes a lot of RAM by default. But many Minecraft players, for various reasons, have rather weak computers that do not allow them to comfortably enjoy their favorite game. What to do then?

Install additional programs to optimize the game? Lower graphics settings? It’s possible, but there is another method to improve performance: increasing the allocated amount of RAM that the game will consume.

In this article, you will learn how to allocate more RAM for Minecraft.

Where to begin?

You should start by finding out the built-in amount of RAM that is currently in your personal computer. This can be done by going to the "Settings" (or "Control Panel") section. There you need to select the “System” subsection. Next, click “About System”. Opposite the line “Installed RAM” will be written the amount of RAM located in the computer.

How to allocate more RAM for Minecraft?

After you have figured out the amount of installed RAM, update the version of Java SE. This is a prerequisite not only for a comfortable game of Minecraft, but also for the correct launch of the application in general. If you have a 32-bit system, then download Java x32. The situation is similar with the 64-bit version.

Then you need to open the licensed Minecraft launcher in a special way. Namely, you need to right-click on the game icon and open it with administrator rights.

A window will open to launch the game. In its lower left corner - where the game account is selected - there is a button for editing the profile (Edit Profile). In the tab that opens, at the very bottom you need to find the line “JVM Arguments”. If there is no checkmark there, you need to check it and activate the function. This is directly related to how to increase the amount of RAM for Minecraft.

The line opposite “JVM Arguments” will become available. In it you just need to enter the value of “RAM” allocated to the application. This is done as follows: -Xmx$G. Instead of the “$” sign, you need to enter a number indicating the allocated amount of RAM.

Bottom line

Now you know how to allocate more RAM for Minecraft. To do this, as it turned out, is not at all difficult and anyone can do it.

Related materials:

  • How to use all RAM in Windows: the most common situations and solutions
  • Not all RAM is available: how to use its full capacity?
  • How much RAM is needed for normal computer operation?
  • How to fix Skype error: Insufficient memory to process command

Step 1. Go to “Control Panel”.

Step 2. Type 'Java' in the search box of the Control Panel window.

Step 3. Click on the Java icon that appears as a result of the search.

Step 4. In the window that opens, select “Java”.

Step 5. Click "View"...

Step 6. Make sure there is only one line! If you have more lines, then you need to remove all installed versions of Java and reinstall the one required specifically for your operating system.

Step 7 Change the "Runtime Parameters" value. For example: -Xincgc -Xmx2048M

Specify exactly how much you want to allocate computer memory. For 32-bit operating systems, it is recommended to use 768M. If you have a 64-bit system or it doesn’t work, then try specifying: 1G 1536M 2G. Please note that you should select the allocated RAM size based on the total amount of RAM installed in your computer.

Step 8 Click OK.

Step 9 Restart the game if it was running or restart your computer.

If you still get an error or a few lines in “Runtime Parameters”, then these instructions are for you:

Removing Java from your computer

Cleaning the registry. Registry cleaning programs - CCleaner, WinUtilities

Removing minecraft

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

Install Minecraft again

Let's move on to one of the instructions

If the error still pops up, turn off the sound.

None of this helped - you have little RAM, or the processor is weak.

Key designation:

Xincgc - Garbage Collector, frees unused objects from memory.

Xmx - Sets the maximum memory size.

Xms - Sets the minimum memory size.

In this post I will tell you how to increase the maximum amount of allocated RAM for Minecraft. This is necessary primarily in order to remove lags in Minecraft and to make the game as a whole work better.

What is it for?

On Minecraft, by default, only 1 Gigabyte of RAM is allocated, and I think you will agree with me that this is very little. Considering the very rapid progress, we can safely assume that more than 50% of all computers have more than 2 gigabytes of RAM or more, and if your computer is one, then you can increase the FPS in the game and thereby ensure a more enjoyable game.

What is RAM (Random Access Memory)?

RAM (Random Access Memory)- This is an integral part of the computer, which is a temporary storage of data and operations that the processor needs to perform operations. In a word, the more RAM you have, the more data it can hold and, as a result, the processor will process it faster.

Now let's move on to the practical part of this article.

First of all, we need to make sure that our Java drivers are installed correctly. The fact is that everything may work well for you, but nevertheless, you may have installed the drivers not in accordance with your Windows bit level. As you know, Windows comes in 32-bit and 64-bit versions, and you need to download your own drivers for each system.

You can find out what system is installed on your PC by right-clicking on “My Computer” (RMB) and selecting the last item “Properties”. You will see a window like the one shown in the picture below and in the line highlighted in red the type of your system is written.

Depending on the bitness of your system, download the drivers you need from the link below:

P.S. Before installing new drivers, be sure to remove the old ones!

After installing the new drivers, we go to the control panel and find the icon there:

Click on it 2 times and go to the Java settings menu. Next we go to the Java section and click the button: " View".

In the picture shown above, an empty field is highlighted with a red line; in it we will have to enter parameters that will subsequently allocate to our Minecraft the amount of memory that you need.

In order to allocate more memory, we need to enter the following command into this empty field (the numbers in the command are different for everyone, how to set your parameters is written below):

-Xms2048m -Xmx4096m

In my example, the command sets the range of allocated memory from 2 gigabytes to 4 gigabytes.

In order to decide what parameters to set, you need to know that you don’t need to overdo it. It is better to use not all the memory and leave a little for the needs of the computer.

For example, you have 4 gigabytes of RAM on your computer, which means in your case you should set the following parameters: -Xms1024m -Xmx3072m

In addition, you can use the parameter: -Xincgc, which frees unused objects from memory, thereby the work will be even better, especially on weak computers. Full command example:

-Xincgc -Xmx2048M

For 32-bit Windows, it is best to specify: -Xincgc -Xmx768M , there is no point in setting more, since there will be no benefit from this.

After you enter the command you need, click OK, and then Apply.

Now we go to the Minecraft launcher and click Edit Profile and find the last point there JVM Arguments, where we enter the maximum amount of memory that we specified in the previous settings. I had these: -Xms2048m -Xmx4096m, accordingly you need to insert into the field: -Xmx4096m

Here's what I got:

When I first became acquainted with this operation, I did everything correctly, but nothing worked. Later I solved this problem and the solution was simple.

I highlighted in red the root of my problems. This field contains the path to Java. We need to copy it.

Paste the copied path into the field that I have highlighted in red.

The fact is that when changing drivers, the paths of the root folders changed and Minecraft could not find the files it needed. This is such a simple, but at the same time necessary solution.

Minecraft, despite its apparent visual simplicity, is a rather resource-intensive game. It is written in Java and consumes a lot of RAM by default. But many Minecraft players, for various reasons, have rather weak computers that do not allow them to comfortably enjoy their favorite game. What to do then?

Install additional programs to optimize the game? Lower graphics settings? It’s possible, but there is another method to improve performance: increasing the allocated amount of RAM that the game will consume.

In this article, you will learn how to allocate more RAM for Minecraft.

Where to begin?

You should start by finding out the built-in amount of RAM that is currently in your personal computer. This can be done by going to the "Settings" (or "Control Panel") section. There you need to select the “System” subsection. Next, click “About System”. Opposite the line “Installed RAM” will be written located in the computer.

Now we can move on to the question of how to allocate more RAM for Minecraft.

Attention! If your personal computer has 5 GB of RAM built-in, then it is recommended to allocate, for example, 4 GB for Minecraft, but no more. It is logical that the system itself on which the game is running also requires a certain amount of RAM to operate.

How to allocate more RAM for Minecraft?

After you have figured out the amount of installed RAM, update the version of Java SE. This is a prerequisite not only for a comfortable game of Minecraft, but also for the correct launch of the application in general. If you have a 32-bit system, then download Java x32. The situation is similar with the 64-bit version.

Then you need to open the licensed Minecraft launcher in a special way. Namely, you need to right-click on the game icon and open it with administrator rights.

A window will open to launch the game. In its lower left corner - where the game account is selected - there is a button for editing the profile (Edit Profile). In the tab that opens, at the very bottom you need to find the line “JVM Arguments”. If there is no checkmark there, you need to check it and activate the function. This is directly related to how to increase the amount of RAM for Minecraft.

The line opposite “JVM Arguments” will become available. In it you just need to enter the value of “RAM” allocated to the application. This is done as follows: -Xmx$G. Instead of the “$” sign, you need to enter a number indicating the allocated amount of RAM.

Bottom line

Now you know how to allocate more RAM for Minecraft. To do this, as it turned out, is not at all difficult and anyone can do it.

Best articles on the topic