github thedotmack/claude-mem v7.1.9
v7.1.9 - Critical Process Leak Fix

latest releases: v9.0.12, v9.0.11, v9.0.10...
one month ago

Critical Bugfix

This patch release fixes a critical memory leak that caused chroma-mcp processes to accumulate with each worker restart, leading to memory exhaustion and silent backfill failures.

Fixed

  • Process Leak Prevention: ChromaSync now properly cleans up chroma-mcp subprocesses when the worker is restarted
    • Store reference to StdioClientTransport subprocess
    • Explicitly close transport to kill subprocess on shutdown
    • Add error handling to ensure cleanup even on failures
    • Reset all state in finally block

Impact

  • Eliminates process accumulation (16+ orphaned processes seen in production)
  • Prevents memory exhaustion from leaked subprocesses (900MB+ RAM usage)
  • Fixes silent backfill failures caused by OOM kills
  • Ensures graceful cleanup on worker shutdown

Recommendation

All users should upgrade immediately to prevent memory leaks and ensure reliable backfill operation.


Full Changelog: v7.1.8...v7.1.9

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.