Skip to content

v0.6.1 — Vec Storage Bloat Fix

Choose a tag to compare

@bnimit bnimit released this 10 Jun 12:50
· 23 commits to main since this release
adf124f

What's Changed

Patch release fixing critical sqlite-vec storage bloat (554MB → ~12MB for the same data).

Fixes

  • Vec0 storage bloat: INSERT OR REPLACE on vec0 orphaned entries because SQLite changes the artifact rowid on replace. All deactivation paths (deactivate, deactivate_stale, decay_quality) now clean vec0 + FTS entries via centralized _deactivate_artifact()
  • Dashboard connection errors: Cached single SqliteStore instance instead of creating one per API request (caused intermittent sqlite3.OperationalError: unable to open database file)
  • Dashboard noise: Hide dormant projects (only raw chunks, no memories or recalls) from the project list

New

  • memor compact CLI command — rebuilds the vec0 index with right-sized chunk_size, re-embeds all active artifacts, VACUUMs the database. Run this once after upgrading to reclaim space.
  • Daemon auto-compact — detects when vec0 chunk count exceeds 2x ideal and triggers rebuild during ingestion cycles (without VACUUM to avoid exclusive locks)

Upgrade

pip install --upgrade memor-cli
memor compact --yes   # one-time rebuild to reclaim bloated storage

Full Changelog: v0.6.0...v0.6.1