Calm The Leaks
通过完整的内置诊断图形用户界面(GUI)改进诊断体验——按 F8 或运行 /ctl panel 打开它。
Calm The Leaks 是 AllTheLeaks 的配套模组,用于过滤误报并提供智能泄漏分析。它不会替代 ATL——而是与 ATL 协同工作,使输出结果更易于人类阅读和诊断。
功能说明:
CTL 会拦截 ATL 的泄漏报告并结合上下文进行评估。它会抑制诸如来自区块保留模组的稳定内存、启动时的噪音以及过渡性误报等误报。真实的泄漏仍然会被捕获,但现在它们附带了关于具体成因及修复方法的实际解释。
该模组会对你的整合包进行实时分析,以识别可能导致泄漏的模组。随着时间推移,其判断信心会逐渐增强,仅在原因较为确定时才建议修复方案。如果你安装了 Spark,当检测到严重泄漏时(可配置),CTL 可以触发性能分析;GUI 中显示的堆内存百分比来自 JVM。
工作原理:
CTL 会追踪 ATL 报告的每一次泄漏,但不会立即惊慌。相反,它会观察模式:泄漏是否在增长?是否稳定?是否与特定模组相关?它考虑了服务器阶段(启动、预热、正常运行),仅在实际出现问题时才升级警报级别。
当检测到泄漏时,CTL 会分析已安装的模组以确定可能的罪魁祸首。它会查找模组冲突、检查内存压力并监控随时间的变化趋势。收集的数据越多,其建议的可信度就越高。
使用方法:
只需将其与 AllTheLeaks 一起安装即可。CTL 会自动拦截 ATL 的输出并进行过滤。
按 F8 或使用 /ctl panel 打开诊断 GUI。“指南与使用说明”选项卡介绍了 CTL 并展示了服务器快照;“跟踪的泄漏”选项卡列出了所有泄漏——点击某一行可查看完整诊断信息。管理员可选择在指南选项卡中启用世界泄漏内存监控,或在更改模组时使用缩小范围工具包进行快照/对比测试(测试之间需重启游戏;使用 /ctl narrow)。
默认情况下,/ctl status、/ctl leaks 和 /ctl explain 会打开该 GUI 而不是刷屏聊天窗口。如果你在 config/calmtheleaks-common.toml 中将 prefer_diagnostics_gui 设置为 false,则偏好仅通过聊天窗口输出。
你还可以使用以下命令:
/ctl panel - 打开诊断 GUI
/ctl status - 显示当前 CTL 状态及跟踪泄漏的摘要(默认情况下会打开 GUI)
/ctl leaks - 列出按模组分组的所有跟踪泄漏(默认情况下会打开 GUI)
/ctl explain - 为每个泄漏提供详细的诊断信息,包括置信度和建议(默认情况下会打开 GUI)
/ctl narrow - 缩小范围工具包:快照、对比、模组列表等(在更改整合包后请重启游戏)
CTL 完全可配置:
你可以在 config/calmtheleaks-common.toml 中调整基线保留阈值、宽限期、升级级别、Spark 行为以及 GUI 与聊天输出的设置。
重要提示:
此模组依赖 AllTheLeaks 才能正常工作。它不会替代 ATL——而是通过上下文和智能功能对其进行扩展。ATL 仍负责所有的检测工作;CTL 只是使输出结果更易于人类阅读和诊断。如果在专用服务器上使用该 GUI,请在服务器和客户端上运行相同版本的 CTL,以保持面板同步。
Calm The Leaks
Improved diagnosis with a full in-game diagnostics GUI - press F8 or run /ctl panel to open it.
Calm The Leaks is a companion mod for AllTheLeaks that filters out false alarms and provides intelligent leak analysis. It doesn't replace ATL - it works alongside it to make the output more human friendly and diagnosable.
What It Does:
CTL intercepts ATL's leak reports and evaluates them with context. It suppresses false alarms like stable chunk retention from claiming mods, startup noise, and transitional false positives. Real leaks still get through, but now they come with actual explanations about what's causing them and how to fix it.
The mod performs real-time analysis of your modpack to identify which mods are likely causing leaks. It builds confidence over time and only suggests fixes when it's reasonably certain of the cause. If you have Spark installed, CTL can trigger profiling when a leak looks severe (configurable); heap percentages shown in the GUI come from the JVM.
How It Works:
CTL tracks every leak ATL reports, but it doesn't immediately panic. Instead, it watches for patterns: is the leak growing? Is it stable? Does it correlate with specific mods? It accounts for server phases (startup, warmup, live) and only escalates when something is actually wrong.
When a leak is detected, CTL analyses your installed mods to identify likely culprits. It looks for mod conflicts, checks memory pressure, and monitors trends over time. The more data it gathers, the more confident its recommendations become.
How To Use It:
Just install it alongside AllTheLeaks. CTL automatically intercepts ATL's output and filters it.
Open the diagnostics GUI with F8 or /ctl panel. The Guide & how to use tab explains CTL and shows a server snapshot; the Tracked leaks tab lists leaks - click a row for the full diagnosis. Ops can optionally enable world leak memory from the guide tab, or open the narrow-down toolkit for snapshot/compare while you change mods (restart between tests; use /ctl narrow).
By default, /ctl status, /ctl leaks, and /ctl explain open that GUI instead of spamming chat. Set prefer_diagnostics_gui to false in config/calmtheleaks-common.toml if you prefer chat-only output.
You can also use these commands:
/ctl panel - Opens the diagnostics GUI
/ctl status - Shows current CTL status and a summary of tracked leaks (or opens the GUI by default)
/ctl leaks - Lists all tracked leaks grouped by mod (or opens the GUI by default)
/ctl explain - Provides detailed diagnosis for each leak with confidence levels and recommendations (or opens the GUI by default)
/ctl narrow - Narrow-down toolkit: snapshot, compare, mod list, etc. (restart the game between pack changes)
CTL is fully configurable:
You can adjust thresholds for baseline retention, grace periods, escalation levels, Spark behaviour, and GUI vs chat in config/calmtheleaks-common.toml.
Important:
This mod requires AllTheLeaks to function. It does not replace ATL - it extends it with context and intelligence. ATL still does all the detection work; CTL just makes the output more human friendly and diagnosable. If you use the GUI on a dedicated server, run the same CTL build on server and clients so the panel stays in sync.
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 [CTL] Calm The Leaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Calm The Leaks 1.2.5
已更改:
Extra Special Hub 注册变为可选 — 如果缺少 hub JAR,CTL 不再直接崩溃;/ctl panel 仍可单独使用。
配置文件注释重新分组,使阈值 / 处方部分更清晰(键名未更改)。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧