跳到正文

Distant Horizons Memory Fix

Fix retained Distant Horizons 3.3.3 progress worker threads without changing LOD quality, generation or saves.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Repeated Distant Horizons request closures can leave progress reporting workers alive. Those idle threads retain native resources and memory, which can accumulate during extended play or server operation.

Distant Horizons Memory Fix closes each audited request state’s progress executor when that state closes. The running reporter finishes normally, then its worker retires. Background generation, retrieval and chunk saves retain their original behavior.

  • Release abandoned progress worker threads after their request ends.
  • Preserve active work without interrupting it or waiting on the server thread.
  • Keep existing LOD quality, render distance and generation settings.
  • Run independently of Tensura and other custom mods.
  • Import the previous feature preference when moving from Tensura Optimizations.

This release targets the specific progress executor leak in Distant Horizons 3.3.3. It checks the supported version and implementation before applying. Unsupported or changed implementations are skipped with a log message. This is a targeted lifecycle fix; it does not claim to resolve every DH memory issue or provide a universal FPS/TPS improvement.

Installation and Compatibility

  • Minecraft: 1.21.1.
  • Loader: NeoForge 21.1.250 or newer within the 21.1 series.
  • Java: 21.
  • Install on: The client, dedicated server, or both, wherever DH runs.
  • Audited DH version: 3.3.3.
  • Required mods: None beyond Minecraft and NeoForge.
  • Optional project relationship: Distant Horizons (distanthorizons). Without DH, the mod loads safely and has nothing to patch.

Configuration

The fix defaults on in config/distant_horizons_memory_fix-common.toml:
[general] enabled = true

Use -Ddistant_horizons_memory_fix.enabled=false to compare with upstream behavior. When no new config exists, the previous [features] distantProgressLifecycle value is imported from config/tensura_optimizations-common.toml. The legacy -Dtensura_optimizations.distantProgressLifecycle override remains a fallback; the new property takes precedence.

License and Credits

Custom License — Pixelated Industries Mods License

常见问题

Distant Horizons Memory Fix 支持哪些 Minecraft 版本?

Distant Horizons Memory Fix 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Distant Horizons Memory Fix 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Hecrius 的其他作品

查看全部 →