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.
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.
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.
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.
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.
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.
| 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 |
New here? Pick the guide you need below — whether you just want to install the mod or inspect the test logs yourself.
Step-by-step instructions to drop the JAR into your mods folder, verify checksums, and set launcher memory to -Xmx3072M.
Open installation guide →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 →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.
Taken directly in Minecraft 1.21.1 (NeoForge 21.1.265) with a 3 GB Java heap limit and all 16 vehicle packs enabled.
All 1,092 vehicle pack entries load smoothly inside a 3072 MB Java heap limit while rendering the full train consist in-world.
Verified production build showing the pixel RAM icon, version 0.4.9, author metadata, and direct repository links in-game.
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).
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.
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.