Skip to content

chroma-mcp CPU/memory leak in v10.3.1 #1185

@nyflyer

Description

@nyflyer

Description

After installing v10.3.1, the chroma-mcp Python process rapidly consumes excessive CPU and memory, making the system unusable. The root cause is the v10.3.0 architectural change that replaced npx chroma run (Node/WASM) with chroma-mcp via uvx (Python). The v10.3.1 fixes for duplicate daemons and zombie processes didn't address the underlying CPU runaway in the Python chroma-mcp subprocess itself.

Symptoms

  • chroma-mcp Python process spikes to 500–700%+ CPU within minutes of Claude Code starting
  • Memory consumption reaches 400MB–1GB+
  • The worker-service.cjs --daemon process respawns killed processes, making it hard to stop without removing the marketplace first

Steps to Reproduce

  1. Install claude-mem v10.3.1 via /plugin
  2. Start a Claude Code session
  3. Monitor processes: ps aux | grep chroma-mcp
  4. Observe CPU/memory climb rapidly

Environment

  • OS: Linux 6.17.0-14-generic
  • Claude Code version: 2.1.47
  • Plugin version: 10.3.1 (also affects 10.3.0)

Workaround

Pinning to v10.2.6 resolves the issue while preserving newer features. Steps:

# Kill runaway processes (remove marketplace first so daemon doesn't respawn)
pkill -9 -f "thedotmack/claude-mem"
pkill -9 -f "worker-service.cjs"
pkill -9 -f "chroma-mcp"
pkill -9 -f "mcp-server.cjs"

# Wipe and re-clone at v10.2.6
rm -rf ~/.claude/plugins/marketplaces/thedotmack
rm -rf ~/.claude/plugins/cache/thedotmack
git clone --branch v10.2.6 https://github.com/thedotmack/claude-mem.git ~/.claude/plugins/marketplaces/thedotmack
git -C ~/.claude/plugins/marketplaces/thedotmack remote set-url origin ""

Then reinstall from the Discover tab in /plugin.

Additional Notes

  • v10.2.6 is stable — uses Node-based chroma run, no CPU leak
  • v10.3.0 introduced the switch to Python chroma-mcp via uvx — this is where the leak originates
  • v10.3.1 attempted to fix duplicate daemons/zombies but the CPU runaway persists

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions