Gaming

How to Allocate more RAM to Minecraft

Spread the love

Wondering how to Allocate more RAM to Minecraft? Is the game running slow on your Computer?

Don’t worry. You are in the right place. Here I will be discussing various methods to teach you how you can allocate more ram to your Minecraft game.

Minecraft is a sandbox video game created by Mojang. It was released in the year 2011. Mojang is also maintaining the game for future releases. Minecraft focuses on allowing the player to explore, interact with, and modify a dynamically-generated map made of one-cubic-meter-sized blocks. In addition to blocks, the environment features plants, mobs, and items. Some activities in the game include mining for ore, fighting hostile mobs, and crafting new blocks and tools by gathering various resources found in the game.

By default, Minecraft takes 1gb of your RAM space. The launcher prohibits the Game to use more ram than the default one. Since 1gb RAM is the default setting, it means that the game shouldn’t have any lag in these settings. However if you have installed any of the Custom Textures or skins on the Game, your game can become laggy and slow. So as to avoid this, you can allocate more RAM to Minecraft.

You might also be interested in:- 10 Best Games Like Civilization

So here in this article, I’ll tell you ways by which you can learn ‘How to allocate more RAM to Minecraft game’. I will be covering methods to do so using the Launcher Version 1.6.X and also with Launcher Version 2.0.X. Then I will also tell you to do the same on a Minecraft Server. So let’s start with our article.

Allocating more RAM to Minecraft Using Launcher

In this section, I will be describing methods for you to learn How to allocate more RAM to Minecraft using your Launcher. There are two versions of Minecraft Launchers currently in service. I will be covering both the launchers i.e Launcher Version 1.6.X and Launcher Version 2.0.X. Then I will show you how to do the same thing with your Minecraft Server.

To know about the version of your Launcher. Simply open the launcher and see to the bottom right of the launcher window. You will find the version written there. Follow the below-mentioned steps briefly and carefully. So let us start with our first method.

Increasing RAM from Launcher 1.6.X

Launcher 1.6.X is the older launcher of Minecraft. You can find your Launcher version written at the bottom right corner of your Launcher window. Steps to increase RAM is a bit difficult in comparison to Launcher 2.0.X. So let’s learn ‘How to Allocate more RAM to Minecraft’ from Launcher 1.6.X.

  • Firstly, check your Computer’s available RAM. To do so follow these steps.
  • On Windows – Right click on My Computer and click on Properties. You can find the available RAM in this Window.
  • On Mac – Open the Apple menu, click About This Mac, and look at the number to the right of the “Memory” heading.
  • Secondly, make sure you have the Latest update on JAVA installed in your Computer. If you don’t have the latest version, you can download it by clicking on the link here: https://www.java.com/en/download/.
  • Now click on the Minecraft Launcher from your Desktop.
  • Click on Edit profile in the Launcher and select your profile from it.

edit profile minecraft launcher 1.6.x

 

  • Find the JAVA Settings section. In this section Check the JVM Arguments box.
  • In front of the JVM Arguments option, write -Xmx?G. Replace ‘?‘ with the amount of RAM, you want to use.
  • For example, write ‘-Xmx8G’ to allocate 8Gb RAM to Minecraft.
  • Lastly, click on the Save Profile button to save these settings.

And that’s it. You have successfully allocated or increased RAM to your Minecraft game. As a result, your game will now not lag even with your custom add-ons. So start the game now and you will not experience any lag or hang during the Game. If your Launcher Version is 2.0.X then proceed to the method mentioned below.

Increasing RAM from Launcher 2.0.X

Launcher 2.0.X is the newer launcher of Minecraft. You can find your Launcher version written at the bottom right corner of your Launcher window. Steps to increase RAM is easy in this launcher as compared to Launcher 1.6.X. So let’s learn ‘How to Allocate more RAM to Minecraft’ from Launcher 2.0.X.

  • Firstly, check your Computer’s available RAM. To do so follow these steps.
  • On Windows – Right click on My Computer and click on Properties. You can find the available RAM in this Window.
  • On Mac – Open the Apple menu, click About This Mac, and look at the number to the right of the “Memory” heading.
  • Secondly, make sure you have the Latest update on JAVA installed in your Computer. If you don’t have the latest version, you can download it by clicking on the link here: https://www.java.com/en/download/.
  • Now click on the Minecraft Launcher from your Desktop.
  • Click on the Launch options Tab. You can find it at the top of the Launcher.
  • Launch Options page will open. Switch ON the Advanced Settings if it is now already ON. It will turn to Green color after turning ON.
  • Select the Profile you want to modify.
  • Check or Turn ON the JVM Arguments box.
  • Now in front of the JVM Arguments option, write -Xmx?G. Replace ‘?‘ with the amount of RAM, you want to use.
  • For example, write ‘-Xmx8G’ to allocate 8Gb RAM to Minecraft.

allocate more ram minecraft 2.0.x

  • Lastly, click SAVE on the bottom of the window.

And that’s it. You have successfully allocated or increased RAM to your Minecraft game. As a result, your game will now not lag even with your custom add-ons. So start the game now and you will not experience any lag or hang during the Game. Finally, in our next and the last section, I will tell you how to allocate RAM to Minecraft Server.

Similar Articles you might Like:- 10 Best Games Like Sword Art Online

Allocating more RAM to Minecraft on a Server

If you manage your own Minecraft server and want to increase RAM in this Minecraft server then there is no way to do it from your Profile settings. So to increase RAM in your Server, you will have to make some changes in the server launcher in your Computer. Don’t worry, I will show you how you can do that. So let us learn ‘How to allocate more Ram to Minecraft’ Server.

  • The first step is to check your Computer’s available RAM.
  • On Windows – Right click on My Computer and click on Properties. You can find the available RAM in this Window.
  • On Mac – Open the Apple menu, click About This Mac, and look at the number to the right of the “Memory” heading.
  • Make sure you have the Latest update on JAVA installed in your Computer. If you don’t have the latest version, you can download it by clicking on the link here: https://www.java.com/en/download/.
  • Now open the Minecraft Server directory on your Computer.
  • Create a new Text Document in this folder.
  • Paste these codes in it as per your Operating System.

 

 

Code For Windows:

java -Xmx####M -Xms####M -exe Minecraft_Server.exe -o true
PAUSE

minecraft server windows

Code For Mac:

#!/bin/bash
cd “$( dirname “$0″ )”
java -Xms####M -Xmx####M -exe Minecraft_Server.exe -o true

Code For Linux:

#!/bin/sh
BINDIR=$(dirname “$(readlink -fn “$0″)”)
cd “$BINDIR”
java -Xms####M -Xmx####M -exe Minecraft_Server.exe -o true

  • Replace the #### with the MegaBytes of RAM you want to allocate to your Server. For example, write 2048 to allocate 2GB RAM.
  • Lastly, name it server launcher.bat and click on Save.
  • Run this new file to Start Minecraft with the new Allocated RAM.

You might also like this:- Top 10 Best Multiplayer Browser Games in 2019

So that is the end of our article. Finally, you have learned all methods to increase RAM in Minecraft. I hope you have properly followed the same steps on your Computer. If you are having any difficulty or queries or doubts regarding any of the methods mentioned above. Feel free to mention them in the Comments Section below. I’ll be more than happy to help you with it. I hope now you don’t have to search anymore ‘How to allocate more RAM to Minecraft’ on the Internet.

About the author

Bhupinder Singh

I'm a programmer. I basically write about tech and programming languages. I'm currently pursuing B.tech in Information Technology in Bhopal. I'm a geek and a self-learner. I love python. ;-)

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.