← ClaudeAtlas

ios-memgraph-analysislisted

Captures or analyzes iOS memgraph files and persistent heap growth with Apple CLI evidence, ownership paths, raw artifacts, and matched-flow verification. Use for leaks or memory-growth investigations; route interactive Xcode Memory Graph, Instruments, or LLDB work to debugging-instruments.
thienqo/ios-skills · ★ 11 · AI & Automation · score 69
Install: claude install-skill thienqo/ios-skills
# iOS Memgraph Analysis Use memory graphs to prove why memory survives a defined lifetime boundary. Separate unreachable leaks from reachable growth, preserve raw tool output, and verify the same app-owned type and ownership path after a fix. ## Contents - [Boundary](#boundary) - [Evidence Model](#evidence-model) - [Workflow](#workflow) - [Ownership Decisions](#ownership-decisions) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Boundary This skill owns `.memgraph` capture and command-line ownership/growth analysis. Use the Memory Graph Debugger or Instruments when their interactive graph and allocation timeline are the primary task. Use source review for a suspected closure capture only after runtime evidence identifies the lifetime or path. ## Evidence Model Do not collapse these conditions: - **Unreachable leak:** allocated memory no longer has a path from a live root. An isolated strong cycle can be unreachable and still consume memory. - **Reachable but abandoned state:** a live root still retains objects the user flow no longer needs. `leaks` may correctly report zero. - **Expected cache or pool:** memory survives intentionally and must be judged by its bound, eviction behavior, and pressure response. - **Heap regression or fragmentation:** footprint grows because more/larger allocations persist or dirty pages are poorly utilized, without a leak. Apple's leak scanner uses conservative pointer