It is important to understand that changing the startup options of Minecraft will require us to do this before we start. This does not alter the way Minecraft works or edit any files on your computer. Be careful when editing program files on your computer. Let’s get started!
Step 1: Find RAM
To allocate RAM to Minecraft you will first need to determine how much RAM your computer has. Follow the instructions below and take a look at the image.
Open the Start Menu, and click on the Gear/Settings icon.
Select System at the top of this list.
Click on About at the bottom of the sidebar to the left.
Take note of how much RAM you have, and how much RAM is available to use.
Navigate to the launch settings for Minecraft that you are interested in.
Start the Minecraft Launcher.
Navigate to Installations.
There will be only one installation profile available if you use Minecraft’s latest version. You can choose to use a different version of Minecraft more often, or select the installation profile you would like to allocate more RAM.
As seen in the above image, click on the button for more options from the associated installation profile. Click Edit.
Although this is an easy process, we will remind you to exercise caution when editing program files. It could lead to launch options not working if you don’t do it correctly. The steps are listed in the exact order they appear.
To edit JVM arguments, click More Options from the Edit Installation Menu.
Select the text highlighted in yellow above in the JVM argument. This is the text which allocates RAM for your Minecraft client. This section contains only one number, which most likely has a default value either 1 or 2.
This section should be changed to indicate how many gigabytes (GBs) of RAM Minecraft would like to use. If you wish to use 4 GB RAM, the text in this section should read -Xmx4G.
Make sure you have not edited any other part of the JVM Arguments text. You can cancel any edited text and begin over.
Click on Save in the bottom right corner.
Once you’ve completed the above steps, Minecraft will now run with the additional RAM that you have been given. Play the original version you have edited and not another installation profile.