Minecraft is one of the most popular games of 2019. Do you know how to allocate more RAM to minecraft? If you don’t know, you can follow the methods in this MiniTool post to allocate more RAM to Minecraft.
Since the release of version 2.0.0, Minecraft has provided the ability to adjust memory in the Minecraft Launcher, making it easier to allocate more memory for Minecraft. Here’s how to allocate more RAM to Minecraft. Before I show you each step, please update your Minecraft to the latest version first.
Start the Minecraft launcher and go to the installation tab. Go to the three dots next to your version and select “Edit”. Find “JVM Arguments” in the Java settings, hidden under “More options”. Change the command “-Xmx2G” to “-Xmx[desired amount of RAM in gigabytes]G”.
After that, please follow the steps below.
How to allocate more RAM for Minecraft
Here are two methods for you if you don’t know how to allocate more RAM to Minecraft.
Method 1. Allocate more RAM in Minecraft Launcher
Step 1. Check the available memory of your PC
- Right-click on the Windows Start menu and select Settings.
- In the settings window, select System.
- Go to the Infound section and note the amount of RAM installed under Device Specifications.
Step 2. Turn on the JVM arguments switch
- Start the Minecraft Launcher by double-clicking on the Minecraft icon on your PC.
- Select the Boot Options tab.
- Make sure advanced settings are enabled.
- Choose the profile you want to edit.
- Make sure the JVM arguments are enabled.
Step 3. Customize RAM for Minecraft
Then you should see a line of text like -Xmx1G. Change the 1 to the number of gigabytes of RAM you want to allocate to Minecraft.
Finally, click the Save button to save the change.
After that, Minecraft will use your allocated amount of RAM for the profile you chose.
It is not recommended to reserve more than two-thirds of the total RAM for Minecraft, as this can cause performance problems on your computer.
Method 2. Allocate more RAM on a Minecraft server
In this part, you will learn how to allocate more RAM to the Minecraft server.
Step 1. Check your PC’s RAM memory
Right-click on the Windows Start menu and select Settings.
In the settings window, select System.
Go to the Infound section and note the amount of RAM installed under Device Specifications.
Step 2. Open the Minecraft server directory
This folder contains the Minecraft_server.exe file, which you use to start the Minecraft server. You can search for “Minecraft_server” on your PC to find its location.
Step 3. Allocate more RAM by creating a new document
1. Create a new text document in the server directory.
2. Paste the following code into the new text document.
java -Xmx####M -Xms####M -exe Minecraft_Server.exe -o true PAUSE
You need to replace #### with the value in MB you want to allocate to Minecraft (1GB = 1024MB). For example, if you want to allocate 2GB of RAM, enter 2048.
3. Click File and select Save As…. Change the file extension from “.txt” to “.bat”. To do this, you need to enable file extensions on Windows if they are not displayed.
4. The file you create will be the new launcher for your Minecraft server. Run the new file to start Minecraft and it will automatically allocate a certain amount of RAM.
After reading this post, you should know how to allocate more RAM to Minecraft. If you need to allocate more RAM to Minecraft, you can follow the steps in this post.