Minecraft continues to be one of the most popular games of the new generations of users with the incentive that it is available for almost all platforms, from PC to Mac and even iOS and Android.
It works very well on most devices, although we must recognize that it is always possible to improve it, especially if you have a PC with a lot of RAM that can be used.
And it is that the operating system, by default, allocates to Minecraft a very small amount of 1 GB of RAM, which we think is scarce if it turns out that your PC computer has a total of 8 or 16 GB of RAM in its configuration.
Although it may seem overly complex to allocate more RAM in Minecraft, update 2.0.0 changed all this. Here we wanted to explain how you can allocate more RAM in Minecraft for PC, as well as for all those who run Minecraft on a server.
How to allocate more RAM in Minecraft (V2.0.0 or later)
Although, a long time ago we seemed to have a complex task of manually allocating more RAM to Minecraft, Microsoft changed all this with the release of version 2.0.0.
In this way, now Minecraft offers the possibility to adjust the RAM helped by the executable or launcher of Minecraft ', without the need to edit text files and corrupt the game. Follow these steps:
- Make sure you have the latest version of Minecraft installed (excluding the demo, which has a limit in version 1.5).
- Check the amount of total RAM of your PC in 'Start> Settings> System> About'.
- Start Minecraft by double clicking on the Minecraft icon on your desktop.
- Click on the 'Startup Options' tab in the upper right part of the window.
- Make sure that the 'Advanced Settings' is enabled (green switch) and select the profile you want to edit. If there is only one profile, click on it.
- Activate the JVM argument switch.
- A line of text should appear, including the phrase -X1G. Change '1' to the amount of gigabytes of RAM you want to allocate to Minecraft. You should not allow Minecraft to use more than two thirds of your general RAM, or other problems will appear.
- Click on 'Save' so that all changes are made.
It is done. The next time you start Minecraft, the game will use the amount of RAM you have allocated.
How to allocate more RAM to a Minecraft server
The process to allocate more RAM to Minecraft when it is hosted on a server is slightly different, since it is not integrated into the executable or Launcher as is the case with the standard game.
These are the steps to perform:
- Open your Minecraft server directory (the folder that contains the file 'Minecraft_server.exe' with which the Minecraft server starts). If you are not sure of the location, search for “Minecraft_server” on your PC.
- Click on 'Start> New item> Text document' on the PC to create a text document in the server directory.
- In the new text document, paste the following commands (if you are on the PC): java -Xmx #### M -Xms #### M -exe Minecraft_Server.exe -o true PAUSE
- Replace #### with the value, in MB, that you want to assign (1GB = 1024MB). For example, if you want to allocate 2 GB of RAM, you must enter 2048.
- Click on 'File> Save as ...' and change 'Save' as type in 'All files'. Rename the file server executable and change the extension from .txt to .bat.
- The file you created will now be the new 'launcher' for your Minecraft server. Just double click to run it. Using the .bat file to start the server will automatically allocate the specified amount of RAM.
It wasn't that complicated, right? Enjoy your Minecraft game again but with improved performance compared to the speed you had before.