Repository navigation
Releases
MTR Memory Saver v0.4.9
Bilingual Release Notes: English | 简体中文
Summary
0.4.9 is the scoped formal release of MTR Memory Saver for Minecraft 1.21.1 (Client), Java 21, NeoForge 21.1.265 (exact), and Official MTR 4.1.0-beta.2 (official-nf265).
It promotes the 0.4.8 streaming-snapshot and single-pass digest architecture to a non-prerelease formal release, adds polished neoforge.mods.toml and bilingual resource-pack descriptions alongside the refreshed 512x512 pack.png icon (bff0021a...), binds fresh 0.4.9 69-check packaged verification (engineering-058) into config/delivery-evidence.json, and links the 3 GiB (-Xmx3072M) official-nf265 F2 evidence screenshots (engineering-057, captured on the identical Java runtime sources prior to the icon refresh).
What's New in 0.4.9
- Formal Release & Polished Mod Metadata: Sets
modVersion=0.4.9, updatesneoforge.mods.toml(issueTrackerURL,displayURL, and full multi-line mod summary), updatesen_us/zh_cnpack descriptions, updates the512x512RGBApack.pngicon (bff0021a...,logoBlur=false), and updates.github/workflows/release.ymlso formal version tags publish as a Latest release with release notes fromdocs/releases/<tag>.md. - Version-Bound
0.4.9Packaged Verification (engineering-058): The exact icon-updated0.4.9product JAR (3d2a1407...) passes69packaged client checks (24lifecycle +18strict-resource +27OBJ checks, settled workspace, exit code0, readable JFR) and rejects a same-version modified MTR JAR viaMixinInitialisationErrorbefore registration (exit 1, readable JFR), bound intodocs/VALIDATION.json(status: verified-packaged-scope). - In-Game Evidence Captures (
engineering-057): NativeF2screenshots captured from isolatedofficial-nf265clients prior to thepack.pngrefresh (3239b939..., identicalsrc/runtime) cover the NeoForge Mods screen and full 16-pack world loading (1,092declarations /1,091unique IDs) at-Xmx3072M. - Retained Streaming & Memory Core (
0.4.x/0.3.x): Continues single-channelDELETE_ON_CLOSEUTF-16 streaming for.bbmodel,.obj, and.mtlinputs with single-pass SHA-256 hashing (-19.24%CPU /-19.37%wall time on the65.26 MBBBModel microbenchmark in0.4.8), lossless 36-byteDeflater.BEST_SPEEDvertex chunks (0CPUStoredVertexData),PartType.DISPLAY-only transforms, epoch-shared vehicle JSON trees,96 MiBbounded text LRU, and2 + 64bounded scheduling.
In-Game Evidence Screenshots (official-nf265, 0.4.9)
- NeoForge Mods Screen (
pack.png+0.4.9Description, PID3872)
- All 16 Native-Catalogue Packs Running at
-Xmx3072MwithF3HUD (PID5932,1,092decls /1,091IDs)
- Clean In-World
DC01 UpdateTrain Consist After-Xmx3072M16-Pack Load (PID31244)
Memory Footprint: Official MTR 4.1.0-beta.2 Alone vs With Memory Saver
| Configuration | -Xmx Heap Cap |
Sampled Java Heap | Windows Working Set / Private | Startup & F3+T Outcome |
|---|---|---|---|---|
Official MTR 4.1.0-beta.2 Alone (Fabric, legacy 16 packs) |
12 GiB (OOM) |
11.98 GiB before crash; 9.87 GiB partial shallow heap (76.64M StoredVertexData + 75.31M Color) |
Not recorded in early baseline | OutOfMemoryError (exit -1) before parsing completed (histogram) |
Official MTR + Memory Saver v0.3.0 (NF265, same legacy 16 packs) |
3 GiB (-Xmx3072M) |
2.812–2.896 GiB (0 CPU StoredVertexData) |
WS 3.86–4.77 GiB (lifetime 5.36 GiB) / Private 4.02–5.62 GiB |
Startup + F3+T reload passed (2/2 clients, v0.3.0) |
Official MTR + Memory Saver 0.4.8 / 0.4.9 (NF248/NF265, native-catalogue 16 packs) |
3 GiB (-Xmx3072M) |
Steady 2.30–2.31 GiB (0.4.8 NF248); 20-reload med 2.35 GiB (0.4.8 NF265); 0.4.9 in-world 2.07–2.65 GiB |
Steady WS 4.25–4.31 GiB / Priv 4.46–4.47 GiB (NF248); 20-reload med WS 4.39 GiB / Priv 4.87 GiB (NF265) |
0.4.9 startup + 16-pack showcase passed; 20 / 20 F3+T reloads verified on identical runtime bytecode in 0.4.8 (nf265-reload20) |
Note: The unmodified no-companion baseline was measured on Fabric
0.20.1+ legacy 16 packs (OS process counters omitted; no unmodifiedNeoForge 21.1.265no-companion baseline is sealed yet). Remember-Xmx3072Mlimits Java heap only; total Windows process memory remains ~4.25–5.86 GiB.
Validation Scope vs Known Limits
Verified on 0.4.9 (official-nf265, JAR 3d2a1407...)
- Automated Suites:
106Java unit/regression tests,682historical script index checks, and354Python tool tests pass; Linux & Windows CI verify the reproducible release ZIP and its JAR fingerprint. - Packaged Client & Binary Mismatch (
engineering-058): Passes69packaged checks (24lifecycle +18strict-resource +27OBJ), clean workspace settlement (exit 0, readable JFR), and startup rejection (exit 1,MixinInitialisationError) when launched against a modified MTR JAR (nf265-packaged). - Live 16-Pack World & Mods Captures (
engineering-057): Fresh isolatedofficial-nf265clients passed Mods screen rendering and 16-pack startup (1,092declarations /1,091distinct IDs) at-Xmx3072Mwith clean exits (0) on the identicalsrc/runtime prior to thepack.pngicon refresh (screenshots). - Runtime Code Continuity: Java runtime sources under
src/are unchanged from0.4.8(920c1f83...), where20 / 20consecutive 16-packF3+Treloads passed at3 GiB.
Not Yet Certified / Excluded Scope
- Whole-Client Performance Acceptance Pending: Earlier
12-JVMpaired Spark trials on0.4.8NF248missed the performance thresholds (−0.282%steady private memory vs<= -10%;+9.840%loading time vs<= +5%) with concurrent host load leaving timing attributioninconclusive; the 48-JVM controlled client benchmark (config/client-experiment.json) has not yet been run. - Open Functional Gates: Independent display-frame timing (ETW/PresentMon), a 2-hour uninterrupted route, and exhaustive full-catalog vehicle visual/window/door/boarding interaction checks remain pending.
- Custom
Performance v6Excluded: Onlyofficial-nf265is built and released for0.4.9;v6work remains paused.
Installation & Checksums
- Download
mtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.jardirectly (or downloadmtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.zipfor the full bundle with manifest/docs), and verify against the accompanying.sha256files. - Place
mtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.jarinto your client'smods/folder alongside NeoForge21.1.265and Official MTR4.1.0-beta.2. - Remove any older
mtr-memory-saver/mtr_memory_sharingJAR first (never install two versions together). The test probes/observers are excluded from the release archive. To roll back, close Minecraft and delete the companion JAR.
| Artifact | SHA-256 |
|---|---|
mtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.jar |
3d2a1407745085a5646f0765b38f66442fdb56be2d22b7e366b7ab6407e8e34c |
Official MTR 4.1.0-beta.2 JAR |
ff2b753d03f2bcc000d053a9014e4250c8ba720daa9b69b6899fe7dc26be1efa |
src/main/resources/pack.png (512x512 RGBA) |
bff0021a4d8982abd4a98cf952edfba4670fd8f30ceea43f90f5754b8a9597a8 |
mtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.zip |
Published in attached mtr-memory-saver-0.4.9-mtr4.1.0-beta.2-mc1.21.1-neoforge21.1.265.zip.sha256 |
Links: Packaged 0.4.9 Checks · 0.4.9 Screenshots · 0.4.8 20-Reload Proof · Support Scope · Install & Rollback · Technical Principles (zh-CN)
简体中文说明
0.4.9 是面向 Minecraft 1.21.1 客户端、Java 21、NeoForge 21.1.265(精确版本) 与 官方 MTR 4.1.0-beta.2 的 official-nf265 限定范围正式发布版本。
本版本将经 0.4.8 验证通过的全流式快照与单遍摘要运行时升级为正式 Release(Latest),更换为新版 512x512 像素风 pack.png 图标(bff0021a...)并完善了 neoforge.mods.toml 多行描述、仓库/Issue 链接与中英双语资源包简介,在 config/delivery-evidence.json 绑定了专属的 0.4.9 69 项实机打包验证与错包拦截证据(engineering-058),并保留独立实机采拍的 3 GiB 游戏内截图与 Mods 页面截图(engineering-057)。
主要更新
- *正式版元数据与工作流完善...
MTR Memory Saver 0.4.8 — NeoForge 21.1.265 preview
Bilingual Release Notes: English | 简体中文
Summary
0.4.8 is a scoped client-side development pre-release for Minecraft 1.21.1, Java 21, NeoForge 21.1.265 (exact), and Official MTR 4.1.0-beta.2.
This release resolves the multi-reload heap exhaustion observed on earlier builds (0.4.7 4th-reload BBModel String.join OOM and initial 0.4.8 7th-reload OBJ String.join OOM) by streaming Blockbench, OBJ, and MTL inputs through single owned DELETE_ON_CLOSE UTF-16 snapshots and computing SHA-256 digests in a single read/write pass.
Key Changes in 0.4.8
- Streaming Blockbench, OBJ & Material Inputs: Replaces synchronous whole-
Stringassembly (String.join) on auditedResourceProviderpaths with owned UTF-16 file snapshots and bounded8 KiBreaders/streams (StreamedObjCache,ResourceTextSnapshot), preserving native parsing and mesh construction. - Single-Pass Snapshot Digest (
engineering-055): Computes UTF-8 SHA-256 inside theFilterReaderpipeline while writing the UTF-16 snapshot channel, eliminating the redundant full-channel disk read pass before parsing. Across six balancedAB/BApairs on the real65.26 MB02a05_arknight.bbmodelinput, median thread CPU time dropped by 19.24% (wall-clock elapsed −19.37%, 6/6 pairs improved). - Retained Core Memory Architecture (
0.4.x/0.3.xFoundation): Keeps lossless 36-byteDeflater.BEST_SPEEDpacked vertices (0CPUStoredVertexData),PartType.DISPLAY-only transform retention, epoch-shared vehicle JSON trees,96 MiBbounded text LRU,2 + 64bounded descriptor scheduling, andMixinInitialisationErrorstartup rejection (exit code1) on mismatched MTR JARs.
Memory Footprint: Official MTR 4.1.0-beta.2 Alone vs With Memory Saver
| Configuration | -Xmx Heap Cap |
Sampled Java Heap | Windows Working Set / Private | Startup & F3+T Outcome |
|---|---|---|---|---|
Official MTR 4.1.0-beta.2 Alone (Fabric, legacy 16 packs) |
12 GiB (OOM) |
11.98 GiB before crash; 9.87 GiB partial shallow heap (76.64M StoredVertexData + 75.31M Color) |
Not recorded in early baseline | OutOfMemoryError (exit -1) before parsing completed (histogram) |
Official MTR + Memory Saver v0.3.0 (NF265, same legacy 16 packs) |
3 GiB (-Xmx3072M) |
2.812–2.896 GiB (0 CPU StoredVertexData) |
WS 3.86–4.77 GiB (lifetime 5.36 GiB) / Private 4.02–5.62 GiB |
Startup + F3+T reload passed (2/2 clients, v0.3.0) |
Official MTR + Memory Saver 0.4.8 (NF248/NF265, native-catalogue 16 packs) |
3 GiB (-Xmx3072M) |
Steady 2.30–2.31 GiB (NF248); 20-reload med 2.35 GiB / peak 2.87 GiB (NF265) |
Steady WS 4.25–4.31 GiB / Priv 4.46–4.47 GiB (NF248); 20-reload med WS 4.39 GiB / Priv 4.87 GiB (NF265) |
Startup + 20 / 20 consecutive F3+T reloads passed (0 OOM, exit 0, nf265-reload20) |
Note: The no-companion baseline was measured on Fabric
0.20.1+ legacy 16 packs (OS process counters omitted; no unmodifiedNeoForge 21.1.265no-companion baseline is sealed yet). Remember-Xmx3072Mlimits Java heap only; total Windows process memory remains ~4.25–5.86 GiB.
Validation Scope vs Known Limits
Verified on exact official-nf265 product JAR (920c1f83...)
- Automated Suites:
106Java unit/regression tests (including-Xmx64M40 MiB BBModel/OBJ streaming vsString.joinOOM controls),682historical script index checks, and354Python tool tests pass. - Packaged Client & Binary Mismatch Checks: Passes
69actual packaged client checks (24lifecycle +18strict-resource +27OBJ), full sixteen-pack startup (1,092declarations /1,091distinct IDs), readable JFR summary, and fatal exit code1before registration when launched against an altered MTR JAR (nf265-packaged). - 20 Consecutive Full 16-Pack
F3+TReloads (3 GiBHeap): Passes20 / 20consecutive nativeF3+Treloads in a fresh-Xms512M -Xmx3072MG1 JVM (epochs 3–22,19intermediate dual-clock>= 60 sstable intervals,14/14post-20 samples over65.003 s, zero OOM, cleanAlt+F4exit0, readable213.90 MBJFR), independently replayable viaevidence/engineering-056/nf265-reload20/verify_sealed.py(nf265-reload20).
Not Yet Certified / Excluded Scope
- Whole-Client Performance Unconfirmed: Earlier
12-JVMpaired Spark trials onNF248(943b3d45...vsv0.3.0) missed the performance gates (−0.282%steady private memory vs<= -10%;+9.840%loading time vs<= +5%), with concurrent host workloads leaving timing attributioninconclusive(practical-spark, outlier-sensitivity). The optimized920c1f83...candidate has not yet completed a full 48-JVM controlled client benchmark. - Open Functional Gates: Independent display-frame timing (ETW permission error / empty PresentMon CSV), a 2-hour uninterrupted route, and exhaustive full-catalog vehicle visual/window/door/boarding checks remain pending.
- Custom
Performance v6Excluded: Onlyofficial-nf265is built and released for0.4.8;v6work remains paused.
Installation & Checksums
- Download
mtr-memory-saver-official-nf265-0.4.8.zipfrom this release's assets below. - Put
mtr-memory-saver-official-nf265-0.4.8.jarin your client'smods/folder next to NeoForge21.1.265and Official MTR4.1.0-beta.2. - Remove any older
mtr-memory-saver/mtr_memory_sharingcompanion JAR first. Do not install two versions together. The test observer probe is excluded from the release bundle.
| Artifact | SHA-256 |
|---|---|
mtr-memory-saver-official-nf265-0.4.8.zip |
ebc68df4241c6fce5af8b5816966aba070bf3d4da8b8c80e3d24e34e832568c2 |
mtr-memory-saver-official-nf265-0.4.8.jar |
920c1f833b6f173c7443ff5956493b779acfeceb293fa640817a459985db3f5b |
Official MTR 4.1.0-beta.2 JAR |
ff2b753d03f2bcc000d053a9014e4250c8ba720daa9b69b6899fe7dc26be1efa |
Links: Release Decision · Support Scope · Install & Rollback · Technical Principles (zh-CN)
简体中文说明
0.4.8 是面向 Minecraft 1.21.1 客户端、Java 21、NeoForge 21.1.265(精确版本) 与 官方 MTR 4.1.0-beta.2 的限定范围开发预发布版本。
本版本针对前期构建在连续重载时触发的堆耗尽问题(0.4.7 第 4 次重载 BBModel String.join OOM 与 0.4.8 初版第 7 次重载 OBJ String.join OOM),改用单一所有权的 DELETE_ON_CLOSE UTF-16 快照流式读取 .bbmodel、.obj 与 .mtl,并将 SHA-256 哈希计算合并进写盘读取的单遍循环中。
主要更新
- BBModel / OBJ / MTL 全链路流式读取:在已审计的原生
ResourceProvider入口以流式快照代替String.join整块字符串拼接(StreamedObjCache、ResourceTextSnapshot),保留原生解析与网格计算逻辑。 - 单遍边写边算哈希优化(
engineering-055):在FilterReader写入 UTF-16 通道的同一遍循环内计算 UTF-8 SHA-256,省去解析前的二次读盘步骤。以65.26 MB真实02a05_arknight.bbmodel运行 6 对均衡AB/BA微基准测得:NF265 线程 CPU 中位下降 19.24%,墙钟耗时下降 19.37%(6 对全部改善)。 - 既有基础机制:保持 36 字节/顶点
Deflater.BEST_SPEED无损压缩(0个 CPUStoredVertexData)、仅留PartType.DISPLAY变换、同世代共享车辆配置 Gson 树、96 MiB有界压缩文本 LRU、2 + 64有界调度队列以及不匹配 MTR JAR 注册前退出码1拦截(MixinInitialisationError)。
内存占用对比:仅装官方 MTR 4.1.0-beta.2 vs 安装 Memory Saver
| 对比配置 | -Xmx 堆上限 |
采样 Java 堆占用 | Windows 工作集 / 私有提交 | 启动与 F3+T 热重载结果 |
|---|---|---|---|---|
仅装官方 MTR 4.1.0-beta.2(Fabric,旧 16 包) |
12 GiB(OOM) |
崩溃前 11.98 GiB;部分加载浅堆 9.87 GiB(含 76.64M 顶点 + 75.31M Color) |
早期基线未采集 | 解析未完成即 OutOfMemoryError(退码 -1,堆直方图) |
官方 MTR + Memory Saver v0.3.0(NF265,同旧 16 包) |
3 GiB(-Xmx3072M) |
2.812–2.896 GiB(0 个 CPU StoredVertexData) |
WS 3.86–4.77 GiB(高水位 5.36 GiB)/ Private 4.02–5.62 GiB |
启动与 F3+T 通过(2/2 客户端,v0.3.0) |
官方 MTR + Memory Saver 0.4.8(NF248/NF265,原生目录 16 包) |
3 GiB(-Xmx3072M) |
稳态 2.30–2.31 GiB(NF248);20 次重载中位 2.35 GiB / 峰值 2.87 GiB(NF265) |
稳态 WS 4.25–4.31 GiB / Priv 4.46–4.47 GiB(NF248);20 次重载中位 WS 4.39 GiB / Priv 4.87 GiB(NF265) |
启动与 20 / 20 次连续 F3+T 重载通过(0 OOM,退码 0,nf265-reload20) |
说明:无伴侣基线采自 Fabric
0.20.1+ 旧 16 包(未采集 OS 进程内存,尚未单独封存不装伴侣模组的NeoForge 21.1.265基线)。-Xmx3072M仅约束 Java 堆,含原生与显存开销后的 Windows 实际进程内存约为4.25–5.86 GiB。
验证范围与未关闭限制
- 已验证项(产物 JAR
920c1f83...):106项 Java 回归测试(含-Xmx64M流式 vsString.joinOOM 负对照)、682份历史脚本校验与354项 Python 工具测试全部通过;- 实机
NF265客户端通过 69 项打包检查(24 生命周期 + 18 严格资源 + 27 OBJ)、全 16 包启动(1,092声明 /1,091去重 ID)、JFR 读取及假包注册前退出码1拒绝; - 在
-Xms512M -Xmx3072M(3 GiB堆上限)下连续通过20 / 20次真实全 16 包 `F...


