Description
MTR Memory Saver
English | 简体中文
Minecraft 1.21.1 (Client) · NeoForge 21.1.265 · Java 21 · Official MTR 4.1.0-beta.2 · Mod ID: mtr_memory_sharing · License: MIT
MTR Memory Saver prevents OutOfMemoryError crashes and cuts required Java heap by over 75% when running large Official MTR 4.1.0-beta.2 vehicle resource pack collections. Drop the JAR into mods/—models, textures, interaction boxes, displays, and doors stay lossless and your resource pack ZIPs stay untouched.
At a Glance (16 Full Vehicle Packs)
| What Changes | Official MTR 4.1.0-beta.2 Alone |
With Memory Saver 0.4.9 |
User Impact |
|---|---|---|---|
| Loading 16 Heavy Packs | Crashes with OutOfMemoryError even at 12 GiB -Xmx |
Launches stably at 3 GiB (-Xmx3072M) |
−75%+ Java heap cap required (12 GiB OOM -> 3 GiB pass) |
Repeated F3+T Reloads |
Fails on startup alone (earlier builds OOMed on 4th–7th reload) | 20 / 20 consecutive full reloads at 3 GiB (0 OOM; verified on 0.4.8 runtime) |
Reload resource packs safely in-world without restarting |
| Actual Memory Usage | Peaked at 11.98 GiB heap used (9.87 GiB live objects before finishing) |
2.30–2.35 GiB steady Java heap (~4.25–4.47 GiB steady Windows RAM; ~4.39–5.86 GiB across 20 reloads) |
Eliminates 76.64M duplicate CPU vertex graphs (StoredVertexData -> 0) |
| Visuals & Gameplay | Unmodified baseline | Lossless (36 B lossless chunks, native geometry/boxes preserved) |
Resource packs and saves stay untouched; remove JAR anytime to revert |
Player tip:
-Xmx3072Mlimits Java heap only—Windows Working Set / Private Commit (including JVM runtime and GPU/native buffers) runs around4.25–5.86 GiB. See For the Community below for exact fixture caveats, raw measurements, and pending performance checks.
For Players: Quick Start & Safety
The 0.4.9 formal release targets official-nf265 (config/targets.json is the single authority for dependency hashes and loader versions):
| Parameter | Required Value |
|---|---|
| Target Preset | official-nf265 |
| Minecraft / Java | 1.21.1 (Client only) · Java 21 |
| NeoForge | 21.1.265 (exact) |
Official MTR 4.1.0-beta.2 SHA-256 |
ff2b753d03f2bcc000d053a9014e4250c8ba720daa9b69b6899fe7dc26be1efa |
Released Companion JAR (0.4.9) SHA-256 |
3239b9395719da0dc8fd75b13584a7f410b880a6f27bb698af1af5e984c07c08 |
Install in 3 Steps
- Download
mtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.jardirectly (ormtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.zipwith its manifest/README) from GitHub Releases (see v0.4.9 Release Notes). - Place
mtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.jarinto your client'smods/folder alongside exact NeoForge21.1.265and Official MTR4.1.0-beta.2. - Keep your existing ZIPs inside
resourcepacks/(no pack modification needed) and set at least-Xmx3072M(3 GiB).
Source records and SHA-256 fingerprints: evidence/engineering-057/screenshots/README.md.
