Anthropic Cowork 功能在 macOS 上创建 10GB 虚拟机包,无任何警告。
Anthropic Cowork feature creates 10GB VM bundle on macOS without warning

原始链接: https://github.com/anthropics/claude-code/issues/22543

Claude Desktop 出现显著的性能问题——启动缓慢、UI 滞后和响应时间变慢,尤其是在使用“cowork”功能后。这与位于 `~/Library/Application Support/Claude/vm_bundles` 中的一个 10GB 的 VM 包文件有关,该文件即使在删除后也会持续重新生成。 手动删除 VM 包、缓存和代码缓存可以提供约 75% 的初始性能提升,但由于 CPU 使用率(24-55%)和交换活动增加,性能下降会在几分钟内*再次发生*,表明可能存在内存泄漏或累积的工作负载。 即使使用干净的 VM 包,问题仍然存在,表明问题并非仅仅与文件大小有关。目前,拥有 8GB 内存的用户必须定期退出并手动清理这些文件才能恢复可接受的性能。 预期行为是稳定的性能以及在每次 cowork 会话后自动清理 VM 包。

## Anthropic 的 CoWork 功能与 macOS 磁盘空间问题 最近的 Hacker News 讨论强调了 Anthropic 新的 macOS CoWork 功能存在的问题。用户报告称该应用程序会静默创建 10GB 的 VM 包,在没有警告的情况下占用大量磁盘空间。多位评论者遇到了意外的存储使用情况,其中一人指出 Apple Podcasts 也类似地囤积了 120GB 的数据作为“系统数据”。 核心问题似乎在于 macOS 难以识别和管理磁盘空间使用情况,导致一些人不得不通过 Finder 进行手动清理,甚至完全重新安装系统。人们对 Apple 是否有动机*不*优化存储空间表示担忧,考虑到他们分层的存储定价。 用户还发现 Claude CoWork VM 启动时几乎已满,限制了可用空间。一种解决方法是通过 Claude Code 手动扩展磁盘镜像。有人推测,报告这些问题的 GitHub issue 本身也可能是由 AI 生成的,可能夸大了说法。尽管存在这些问题,用户仍然觉得他们的专业知识对于引导 AI 解决问题很有价值,这表明人类输入仍然至关重要。
相关文章

原文

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:

  • Immediately after restart: ~24% CPU at idle
  • After several minutes of use: ~55% CPU (renderer at 24%, main at 21%, GPU at 7%)
  • Swap activity increases (swapins climbing from 20K to 24K+)

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

Environment

  • macOS (Darwin 25.2.0)
  • Claude Desktop (latest)
  • 8GB system RAM

Observed Behavior

  • High CPU at idle (~24-55% combined across processes)
  • Heavy swap activity that increases over time
  • Performance degrades within minutes of use
  • 10GB VM bundle regenerates after every cowork session
  • Tasks that failed before cleanup now complete (75% faster initially)

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

  • Stable CPU usage that doesn't degrade over time
  • VM bundles cleaned up after cowork sessions
  • Usable performance on 8GB RAM systems

Filed via Claude Code

联系我们 contact @ memedata.com