Why Running Claude Code, Codex & MCP Spikes macOS Swap
Running Claude Code, Codex, multiple MCP servers, and browser tabs can silently push macOS into heavy swap and stutter. MemoryGuardian surfaces true per-app memory footprint and swap pressure on one native SwiftUI screen.
Common Pain Points
- Orphaned MCP & Node Processes: Background MCP servers often outlive closed IDE or terminal windows.
- Hidden Aggregate Bloat: Stock Activity Monitor splits child processes across rows, hiding total AI tooling impact.
- Fear of Killing Active Work: Blindly killing processes risks breaking live agent sessions.
How It Works
- Open MemoryGuardian to check system health, memory pressure, and active swap usage at a glance.
- Switch to the Memory tab to inspect per-app
phys_footprintrankings and spot runaway AI / MCP / Node processes. - Reclaim idle ghost workers safely to bring memory pressure back to green without interrupting active builds.
FAQ
Is MemoryGuardian built with Electron?
No. It is 100% native SwiftUI with minimal overhead and processes all telemetry strictly on-device.
Where is the source code?
Open source at github.com/guuguo/MemoryGuardian.