Minecraft is one of the most popular games of this generation, 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:

  1. Make sure you’ve got the latest version of Minecraft installed.
  2. Check your computer’s total RAM by going to Start > Settings > System > About.
  3. Download and install ATLauncher.
  4. Open the ATLauncher app.
  5. On the right-hand side of the launcher, select Settings.
  6. Select the Java/Minecraft tab.
  7. 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. 
  8. Click Save.

And that’s it! The next time you load up Minecraft, it’ll use the specific amount of RAM you allocated.

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:

  1. 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.
  2. Click Home > New Item > Text Document on PC to create a text document in the server directory.
  3. In the new text document, paste the following (if on PC):
    java -Xmx####M -Xms####M -exe Minecraft_Server.exe -o true
    PAUSE
  4. 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.
  5. 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.
  6. 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!