Skip to main content
Run any Skill in Manus
with one click

hmos-jsleak-analysis

Stars0
Forks0
UpdatedJuly 13, 2026 at 01:51

DFX Skills,分析 rawheap / heapsnapshot 聚类后的内存对象数据,识别疑似内存泄漏。当用户提供 .rawheap 文件、.heapsnapshot 文件、堆内存聚类报告、heap_cluster.mjs 输出结果,或询问"哪些对象在泄漏""哪些对象没有释放""分析这份内存报告""帮看下内存泄漏""为什么内存涨这么多"时,必须使用此技能。即使用户只贴出一段包含"引用链 / Retainer Chain / Retained Size / 聚类 / GC Root"的报告或表格,也应立即触发此技能。技能内置 rawheap_translator 与 heap_cluster 聚类脚本,能先把 .rawheap 转成 .heapsnapshot,再处理 .heapsnapshot 原始文件,并按 Detached、全局引用、闭包、异常大小四类规则进行根因定位,输出结构化的泄漏嫌疑清单。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
9 files
SKILL.md
readonly