Whether you want to allocate more RAM to your Minecraft Launcher or your Minecraft server, this guide will feature all the details regarding the same. It is quite obvious that every PC is unique in its own way and packs in different sizes of RAM. Some setups feature a whopping 16/32GB RAM while others are still on 4/8GB.
Well, Mojang is quite aware of this, and therefore, they have provided players with the ability to customize Minecraft’s RAM intake with the help of a few steps. Although the game usually detects your PC’s RAM automatically, but sometimes after upgrading your hardware, you might find that the game hasn’t updated its settings. So, in such a situation, you might want to manually allocate more RAM to Minecraft. In this article, we have shared all the details regarding how to allocate more RAM to Minecraft on a Windows 11 PC. Here’s everything you need to know.
Minecraft has been a very popular sandbox game that features blocky terrain which looks quite ordinary but the amount of content this game has in store for players is mindblowing. You can widen your horizon of creativity with Minecraft as you can build literally anything. You also don’t need to follow a linear storyline and can do whatever you like. Although the graphics of the game is not on par with AAA titles, the game can be pretty demanding. So, the allocation of more RAM to the game will definitely increase its performance. But, do you know how to do so? If you don’t, then consider reading this article till the end.
How to allocate more RAM to Minecraft on Windows 11
You can allocate more RAM to your Minecraft Launcher itself or the particular Minecraft server. We have included steps for both cases. However, before this, make sure to check the RAM on your PC to avoid situations where more RAM is allocated to the game than the available amount.
Note: You can allocate more RAM only on Minecraft Java Edition as Bedrock Edition automatically does the required RAM allocation and doesn’t support this feature.
1) For Minecraft Launcher
In this method, all you need to do is open up the Minecraft Launcher and head to the Launch Options tab. Now, turn on Advanced Settings. After this, select the Profile to be edited and turn the JVM Arguments setting on as well. Once you do this, select the code that is present inside the JVM Arguments text field and then edit it. The code will look something like this- -Xmx1G. Here, 1G means 1GB of RAM is allocated to the game. To allocate more RAM, simply edit the code and add a number corresponding to the amount of RAM you want to allocate. Eg- 2G/4G/8G. However, make sure to not allocate more than 66% of your total system RAM to avoid performance issues.
2) For Minecraft Server
For this method, you’ll have to head to the Minecraft Server directory. To access this directory, you can search for Minecraft_server on your Windows Search Bar. Once you access the directory, you will find the Minecraft_server.exe file. Now, create a new .txt document and enter the following code-
java -Xmx####M -Xms####M -exe Minecraft_Server.exe -o true
#### should be replaced by the amount of RAM(MB) you want to allocate for the game. 1GB=1024MB, 2G=2048MB and so on. After doing so, save the file but before saving, make sure to change the file type from .txt to .bat. Now, simply double-click on this newly created file and the selected amount of RAM will be allocated for the Minecraft Server as the game launches.
So, this is how you can allocate more RAM to Minecraft on Windows 11. For more such guides, make sure to stay tuned with us on Vabsaga.