Modded Minecraft is far more demanding than vanilla. By default, the CurseForge app only hands Minecraft a small amount of memory, so large modpacks can stutter, freeze, or crash with an Out of Memory error. This guide shows you how to give Minecraft more RAM in the CurseForge app, both globally and for a single modpack.
Before You Start
- Check your total RAM. On Windows, open
Task Manager, go toPerformance, thenMemory. On a Mac, click the Apple menu and chooseAbout This Mac. - Only allocate RAM you actually have. Never give Minecraft all of it. Leave at least
3to4GB free for your operating system and anything else running. - 64-bit Java is needed for large allocations. To go above
4GB, CurseForge has to be running 64-bit Java. Modern versions of the app install and use it by default, but if a profile is pointed at 32-bit Java you'll be capped near2GB and heavy modpacks can crash with a heap error. You can check or set the runtime underJava Settings.
Allocate RAM for All Modpacks (Global)
This sets the default memory for every modpack that does not have its own custom value.
- Open the CurseForge app.
- Click the
Settings(gear) icon in the bottom-left corner. - Under
Game Specific, selectMinecraft. - Find the
Java Settingssection and locate theAllocated Memoryslider. - Drag the slider to your desired amount. Changes save automatically.
Allocate RAM for a Single Modpack
Use this when one heavy pack needs more memory but you don't want to raise it for everything else.
- Open the CurseForge app and go to
My Modpacks. - Hover over the modpack you want to change, click the three dots, then choose
Profile Options. - Turn on
Custom RAM Allocation. - Set the maximum memory for this pack using the slider.
- Click
Doneto save.
How Much RAM Should You Allocate?
| Your setup | Recommended RAM |
|---|---|
| Vanilla or a few light mods | 2 to 4 GB |
| Small modpacks (up to ~75 mods) | 4 to 6 GB |
| Large modpacks (100+ mods, shaders) | 6 to 8 GB |
| Very heavy or "expert" packs (200+ mods) | 8 to 10 GB |
Still Crashing?
- Double-check that you did not allocate more RAM than your computer physically has.
- Close other memory-heavy apps, such as browsers with many tabs, streaming software, or other games.
- Update your graphics drivers.
- Lower in-game settings such as render distance and graphics quality.
What About Your Server's RAM?
Allocating RAM in the CurseForge app only affects your own game client. It has no effect on a dedicated server that you and your friends connect to. Server RAM is set on the host instead.
On a Game Host Bros Minecraft server, your plan determines how much RAM is available, and larger modpacks need more of it. If your server is the thing lagging or crashing while generating a modded world, you likely need to upgrade your server. To install the matching modpack on the server itself, follow our installing modpacks guide.
If you get stuck at any point, just reach out to a bro on Discord.
