[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Cowork feature creates 10GB VM bundle that severely degrades performance

mjbyt

Description

After using the cowork feature, Claude Desktop becomes extremely slow - slow startup, UI lag, and slow responses. Performance degrades over time even during a single session.

Investigation

VM Bundle (10GB)

The cowork feature creates a VM bundle at:

~/Library/Application Support/Claude/vm_bundles/claudevm.bundle/rootfs.img

This file grows to 10GB and is never cleaned up. It regenerates quickly after deletion (deleted one day, back to 10GB the next).

Cleanup Test Results

Deleted vm_bundles, Cache, and Code Cache directories (reduced from 11GB to 639MB).

Result: ~75% faster immediately after cleanup on tasks that previously failed/hung.

Performance Degradation Over Time

Even after cleanup (VM bundle at 0 bytes), performance degrades within minutes:

This suggests a memory leak or accumulating work that causes degradation regardless of VM bundle state.

Environment

Observed Behavior

Workaround

Quit Claude Desktop and delete the VM bundle:

rm -rf ~/Library/Application\ Support/Claude/vm_bundles
rm -rf ~/Library/Application\ Support/Claude/Cache
rm -rf ~/Library/Application\ Support/Claude/Code\ Cache

Provides ~75% improvement but degrades again over time. Must restart periodically.

Expected Behavior


Filed via Claude Code