Summary
The Claude Code sandbox VM bundle (~/Library/Application Support/Claude/vm_bundles/claudevm.bundle) occupies 9.7 GB on disk. On a MacBook with limited SSD space this is catastrophic — it filled the drive to near-capacity and caused OS-level failures (ENOSPC errors in unrelated tools).
Environment
- macOS Darwin 25.5.0
- Claude Code (VSCode extension / desktop app)
Steps to reproduce
- Install Claude Code and use it for any session with sandboxed execution enabled
- Check
~/Library/Application Support/Claude/vm_bundles/
Observed
9.7G /Users/.../Library/Application Support/Claude/vm_bundles/claudevm.bundle
Expected
A sandboxed VM image should not require ~10 GB. Comparable tools (Lima, OrbStack, Docker Desktop's base image) use 1–2 GB at most for a lightweight Linux VM.
Impact
- Disk full — drove available space to near zero, causing unrelated tools to fail with ENOSPC
- No warning — there is no UI indication that Claude Code is consuming this much space
- No cleanup — the bundle persists even when sandbox is not actively in use
Suggestions
- Reduce the VM image size significantly
- Show a disk-usage warning during install or first run
- Provide a built-in cleanup command (
claude sandbox purge or similar)
- Document the disk requirement prominently
Summary
The Claude Code sandbox VM bundle (
~/Library/Application Support/Claude/vm_bundles/claudevm.bundle) occupies 9.7 GB on disk. On a MacBook with limited SSD space this is catastrophic — it filled the drive to near-capacity and caused OS-level failures (ENOSPC errors in unrelated tools).Environment
Steps to reproduce
~/Library/Application Support/Claude/vm_bundles/Observed
Expected
A sandboxed VM image should not require ~10 GB. Comparable tools (Lima, OrbStack, Docker Desktop's base image) use 1–2 GB at most for a lightweight Linux VM.
Impact
Suggestions
claude sandbox purgeor similar)