Entityprism launcher ram allocation min max memory sliderram allocation (minimum & maximum memory mib) prism launcherminecraft java setup windows
Setting Maximum Memory too low causes OutOfMemory freezes, while setting it above 10–12 GB can cause long garbage-collection lag spikes. Applies to All Minecraft versions.
-Xms1024m -Xmx4096m (Vanilla/Fabric) or -Xmx8192m (Heavy Modpacks)
Why RAM Allocation (Minimum & Maximum Memory MiB) matters for All Minecraft versions
Setting Maximum Memory too low causes OutOfMemory freezes, while setting it above 10–12 GB can cause long garbage-collection lag spikes.
Inside Prism Launcher, open **Settings** → **Java** (or override per instance under **Edit Instance** → **Settings**) and click **Auto-detect** or **Download** to select `Prism Launcher Settings → Java → Memory`.
Each instance has its own version, mods, settings and worlds.
Recommended JVM flags and memory checks
**JVM arguments:** `-Xms1024m -Xmx4096m (Vanilla/Fabric) or -Xmx8192m (Heavy Modpacks)`. Always click **Test** in the Java settings panel to verify the runtime passes Prism's architecture check.
**64-bit verification:** Ensure the architecture column reads `x86_64` (or `arm64`), never 32-bit `x86`, so you can allocate more than 2 GB of RAM.
**Download launcher:** Get the latest Windows build of Prism Launcher from /download.
Frequently asked questions
Which Minecraft versions need RAM Allocation (Minimum & Maximum Memory MiB)?
It is designed for All Minecraft versions.
Can Prism Launcher keep Java 8, Java 17, and Java 21 installed at the same time?
Yes. Prism Launcher lets you assign a different Java executable to each individual instance.
Practical Windows guide for "which java version for minecraft prism launcher": instance setup, Java configuration, and mod management in Prism Launcher.
Mojang upgraded Minecraft 1.20.5 and 1.21+ to require a 64-bit Java 21 runtime; launching with Java 17 or Java 8 causes an immediate incompatible class version crash. Applies to Minecraft 1.20.5, 1.20.6, 1.21 – 1.21.4+.
Get Prism Launcher
Windows, macOS & Linux
Free and open source. Sign in with the Microsoft account that owns Minecraft, then create your first instance.