Option to disable Chroma / SQLite-only backend mode #103

Closed
opened 2026-01-22 21:57:01 +00:00 by jack · 1 comment
Owner

Origin

Upstream issues #761, #707

Problem

Chroma vector database causes significant resource issues:

  1. RAM usage (#707): Chroma consumes up to 35GB RAM
  2. Zombie processes (#761): Chroma spawns processes that don't terminate
  3. Vector-db growth (#730 related): Vector-db folder can grow to 1TB+ in Docker environments

Feature Request

Add option to run claude-mem with SQLite-only backend, disabling Chroma entirely.

Use Cases

  • Low-memory systems
  • Environments where vector search isn't needed
  • Docker containers with shared mounts
  • Users who only need basic keyword search

Suggested Implementation

// settings.json
{
  "CHROMA_ENABLED": false,
  "SEARCH_BACKEND": "sqlite"  // or "chroma" or "hybrid"
}

Trade-offs

  • SQLite-only: No semantic/vector search, only keyword matching
  • Significantly reduced RAM usage
  • Simpler deployment
  • Faster startup
## Origin Upstream issues #761, #707 ## Problem Chroma vector database causes significant resource issues: 1. **RAM usage** (#707): Chroma consumes up to 35GB RAM 2. **Zombie processes** (#761): Chroma spawns processes that don't terminate 3. **Vector-db growth** (#730 related): Vector-db folder can grow to 1TB+ in Docker environments ## Feature Request Add option to run claude-mem with SQLite-only backend, disabling Chroma entirely. ## Use Cases - Low-memory systems - Environments where vector search isn't needed - Docker containers with shared mounts - Users who only need basic keyword search ## Suggested Implementation ```json // settings.json { "CHROMA_ENABLED": false, "SEARCH_BACKEND": "sqlite" // or "chroma" or "hybrid" } ``` ## Trade-offs - SQLite-only: No semantic/vector search, only keyword matching - Significantly reduced RAM usage - Simpler deployment - Faster startup
jack closed this issue 2026-01-23 12:02:52 +00:00
Author
Owner

Geschlossen zugunsten von #112 (Provider-Agnostic Architecture).

Dieses Issue ist veraltet - es bezieht sich auf Chroma, das bereits durch Qdrant ersetzt wurde. Das neue Issue #112 behandelt das eigentliche Anliegen (Vector-DB optional machen) im Kontext einer umfassenden Provider-Abstraktion.

Geschlossen zugunsten von #112 (Provider-Agnostic Architecture). Dieses Issue ist veraltet - es bezieht sich auf Chroma, das bereits durch Qdrant ersetzt wurde. Das neue Issue #112 behandelt das eigentliche Anliegen (Vector-DB optional machen) im Kontext einer umfassenden Provider-Abstraktion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
customable/claude-mem#103
No description provided.