Minecraft is one of the most popular games ever, and is available for pretty much every platform, from PC to Mac and even iOS and Android. It runs really well on most devices, but it could always be better – especially if you’ve got a PC with a lot of RAM to take advantage of.
While it was once rather complex to allocate more RAM in Minecraft, the release of the third-party ATLauncher changed all that. Here’s how to allocate more RAM in Minecraft on PC, and for those running Minecraft on a server too.
If you enjoy the voxel-based gameplay that Minecraft provides, be sure to check out our list of the
best alternatives to Minecraft.
How to allocate more RAM in Minecraft
While it was once a complex task to manually allocate more RAM in Minecraft, there’s now a handy mod that removes all of the manual code-tweaking. Here’s how:
- Make sure you’ve got the
latest version of Minecraft installed.
- Check your computer’s total RAM by going to Start > Settings > System > About.
- Download and install
- Open the ATLauncher app.
- On the right-hand side of the launcher, select Settings.
- Select the Java/Minecraft tab.
- Input the amount of RAM you’d like to use (in MB, not GB) in the Maximum MemoryRam field, or use the arrows to adjust the value by 0.5GB at a time.
- Click Save.
And that’s it! The next time you load up Minecraft, it’ll use the specific amount of RAM you allocated.
Note: In October 2020, developer Mojang announced that Minecraft will soon require a Microsoft account to play. ATLauncher has said that this change will affect it, but hasn’t get detailed how it will work around it. In the meantime, it recommends that you hold off on migrating your Minecraft account to a Microsoft account for the time being if you want to use ATLauncher. Check the
ATLauncher website for the latest details on when it will officially support the new account system.
How to allocate more RAM in a Minecraft Server
The process to adjust the amount of RAM Minecraft uses when hosted on a server is slightly different, as it’s not baked into the ATLauncher. It’s not too complicated though:
- Open your Minecraft server directory (the folder that contains the Minecraft_server.exe file you launch the Minecraft server with). If you’re unsure of the location, search “Minecraft_server” on your PC.
- Click Home > New Item > Text Document on PC to create a text document in the server directory.
- In the new text document, paste the following (if on PC):
java -Xmx####M -Xms####M -exe Minecraft_Server.exe -o true
- Replace #### with the value, in MB, that you want to allocate (1GB = 1024MB). For example, if you want to allocate 2GB of RAM, you’d enter 2048.
- Click File > Save As… and change Save as type to All Files. Name the file server launcher and change the extension from .txt to .bat.
- The file you created will now be the new launcher for your Minecraft server – simply double-click it to run. Using the .bat file to launch the server will automatically allocate the specified amount of RAM.
See, easy right? Now go back to enjoying your voxel-based game with better performance than ever before!