Wiki 9Minecraft Wiki 9Minecraft
Distant Horizons Iris Shaderspack Wiki › Guides › Allocating the Right Amount of RAM to Prevent Crashes

Allocating the Right Amount of RAM to Prevent Crashes

Running this modpack on Minecraft's default memory setting will crash the game immediately, as 2GB of RAM is strictly insufficient for loading distant terrain and shaders together. Before entering a world, you must increase your memory allocation in your launcher.

Choosing Your RAM Tier

Pick a memory value that matches your hardware and mod list:

  • 4GB (Minimum): Playable with slight stuttering, provided you keep your distant render distance below 256 chunks.
  • 6GB (Recommended): The optimum amount of RAM for Distant Horizons. Use this for the base modpack or when playing with up to 20 light mods.
  • 10GB (Special Cases Only): Allocating this much memory can negatively affect the Java Garbage Collector and cause lag spikes. Only use 10GB if you run heavy terrain generation mods such as JJThunder To The Max or Big Globe.

Updating Your Launcher Settings

1. Close Minecraft completely and open your launcher.

2. Open the settings or edit screen for this modpack profile.

3. Locate the memory allocation option—either under More Options in the standard launcher's profile editor or via the RAM slider in your modpack launcher—and raise it from the default 2GB to your chosen tier (6GB for most players, or 4GB on lower-spec systems).

4. Save the profile and start the game so the new limit takes effect.