Heavy MTR packs, run on 3 GB.

Tired of Minecraft crashing with OutOfMemoryError when loading lots of MTR train packs? Drop MTR Memory Saver into your mods folder. In our 16-pack test setup, it keeps your packs untouched and brings a 12 GB startup crash down to a steady 3 GB launch.

In-game F3 debug HUD zoomed callout showing Mem: 57% 1773/3072MB over loaded MTR trains

What changes once you install it

Run heavy packs with far less RAM

Vanilla MTR duplicates huge amounts of model and text data in RAM while loading packs. Memory Saver deduplicates and compresses that data automatically, turning a 12 GB crash into a ~2.3 GB steady Java heap.

Reload packs with F3+T safely

Adding or updating resource packs mid-game usually makes memory balloon after a few reloads. Here, old reload data is cleaned up cleanly, passing 20 consecutive 16-pack reloads without running out of memory.

Lossless and drop-in safe

Your resource pack ZIPs, train visuals, destination displays, and doors remain completely intact. It also checks your MTR version before loading and stops cleanly instead of breaking models if versions mismatch.

Before and after: how much RAM does it save?

Tested with heavy 16-pack MTR vehicle collections. Here is how Official MTR 4.1.0-beta.2 behaves on its own compared to running with Memory Saver.

12 GB → 3 GB Over 75% lower Java heap needed to launch 16 packs
20 in a row F3+T resource pack reloads passed under 3 GB
0 edits Your existing vehicle resource packs stay untouched
Lossless Models, textures, displays, and doors stay identical
Comparison Official MTR 4.1.0-beta.2 Alone With MTR Memory Saver
Launch RAM cap (-Xmx) Crashes even with 12 GB allocated Launches steadily with 3 GB (-Xmx3072M)
In-game Java heap used Spikes to 11.98 GiB right before crashing Runs steadily around 2.3 GiB (2.07–2.65 GiB in v0.4.9 captures)
Total Windows RAM (Task Manager) Not recorded separately in that early Fabric baseline Around 4.3–4.5 GiB steady (4.4–5.9 GiB across 20 stress reloads)
Startup & F3+T reload result Fails with OutOfMemoryError before parsing finishes Enters world cleanly; matching runtime survived 20/20 reloads

Guides & project notes

New here? Pick the guide you need below — whether you just want to install the mod or inspect the test logs yourself.

How to install & set RAM

Step-by-step instructions to drop the JAR into your mods folder, verify checksums, and set launcher memory to -Xmx3072M.

Open installation guide →

Version requirements & limits

v0.4.9 requires Minecraft 1.21.1 Client, Java 21, NeoForge 21.1.265, and Official MTR 4.1.0-beta.2. Check why exact versions matter.

Check compatibility rules →

Full benchmarks & how it works

Read the full breakdown of all nine optimization stages, open test gates we have not finished yet, and how to replay our sealed logs offline.

Read benchmarks & docs →

Honest note on testing: v0.4.9 runs the same core optimization code that passed 20 consecutive F3+T reloads in v0.4.8. Longer 2-hour route endurance runs, full frame-time capture, and full-client load-time comparisons are still open and listed transparently in our documentation.

Real in-game screenshots from v0.4.9

Taken directly in Minecraft 1.21.1 (NeoForge 21.1.265) with a 3 GB Java heap limit and all 16 vehicle packs enabled.

16 packs loaded on 3 GB (F3 screen)

All 1,092 vehicle pack entries load smoothly inside a 3072 MB Java heap limit while rendering the full train consist in-world.

Minecraft F3 overlay showing NeoForge 21.1.265 with 3072MB allocated heap limit and a loaded DC01 train

Clean NeoForge Mods list entry

Verified production build showing the pixel RAM icon, version 0.4.9, author metadata, and direct repository links in-game.

NeoForge Mods menu displaying MTR Memory Saver 0.4.9, pack icon, MIT license, and mod summary

What you need before installing

Because Memory Saver hooks directly into MTR internals, your client must match these exact versions. Put the JAR in your client mods folder only (not on dedicated servers).

Minecraft 1.21.1 (Client only)
Java Java 21
NeoForge 21.1.265 (Exact)
Official MTR 4.1.0-beta.2

Download v0.4.9

Download the JAR below and drop it straight into your mods folder (or grab the full ZIP bundle on GitHub Releases). Remove any older version of MTR Memory Saver first.

Read the v0.4.9 release notes & SHA-256 checksums →

Support the project

MTR Memory Saver is free and open-source under the MIT License. If it helped your world or server pack run without crashing, you can support ongoing development below.