If you’re dealing with lag and freezing in Minecraft, especially when using mods, allocating more RAM might be the perfect solution. This guide covers how to allocate more RAM in some of the most popular Minecraft launchers, including the Official Launcher, CurseForge, Modrinth, Prism, Lunar Client, and Badlion. Follow these easy steps to enjoy smoother gameplay in no time.
Allocating RAM in the Official Minecraft Launcher
- Open the Launcher - Ensure Minecraft is closed before starting.
- Go to the Installations Tab - Select the installation you want to modify.
- Edit Settings - Click the dropdown next to your selected installation and choose “Edit.”
- Locate JVM Arguments - In the settings, click on "More Options."
- Adjust Memory Allocation - Locate
-Xmx2G
(or similar) in the JVM Arguments box. Change the number after-Xmx
to the amount of RAM you want to allocate. For example,-Xmx4G
for 4 GB of RAM. - Save and Launch - Press “Save” and start your game.
Allocating RAM in Modrinth
- Select Your Profile - Choose the profile you want to modify.
- Go to Options - On the left, navigate to the "Options" tab.
- Override Global Settings - Enable the “Override Global Memory Settings.”
- Adjust Memory with the Slider - Move the memory slider or type in the desired amount of RAM.
- Save and Play - That’s it! You’re ready to launch Minecraft with the updated memory allocation.
Allocating RAM in CurseForge
- Go to the Minecraft Tab - In CurseForge, select the Minecraft installation you wish to edit.
- Open Profile Options - Click the dropdown next to the “Play” button and select “Profile Options.”
- Adjust Memory Settings - Uncheck “Use System Memory Settings” and adjust the slider to your desired memory.
- Save Changes - Once set, you’re ready to play with more RAM allocated.
Allocating RAM in Prism Launcher
- Choose Your Instance - Select the Minecraft instance you want to adjust.
- Edit Settings - Click the “Edit” button on the right.
- Go to Memory Settings - In the pop-up window, check the “Memory” box.
- Adjust Memory - Increase or decrease the memory allocation as desired; your settings will save automatically.
Allocating RAM in Lunar Client
- Open Settings - In the Lunar Client launcher, click the settings button at the bottom left.
- Adjust Memory Slider - You’ll immediately see the allocated memory slider. Adjust it to your preferred amount.
- Launch the Game - With the memory set, you can start Minecraft with the new configuration.
Allocating RAM in Badlion Client
- Open Settings - Head to the settings in the Badlion Client launcher.
- Adjust the Slider - The memory slider is at the top of the settings page. Set it to your preferred memory allocation.
- Play Minecraft - The settings save automatically, so you’re ready to go.
Increasing allocated RAM can make a huge difference, especially if you're running mods. Adjusting RAM for each launcher is straightforward, whether you’re using the Official Launcher, CurseForge, Modrinth, or another client. Experiment with different amounts to see what works best for your setup. If you think we missed any launchers or have other tips, let us know in the comments below!