v0.6.1 — Vec Storage Bloat Fix
What's Changed
Patch release fixing critical sqlite-vec storage bloat (554MB → ~12MB for the same data).
Fixes
- Vec0 storage bloat:
INSERT OR REPLACEon 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
SqliteStoreinstance instead of creating one per API request (caused intermittentsqlite3.OperationalError: unable to open database file) - Dashboard noise: Hide dormant projects (only raw chunks, no memories or recalls) from the project list
New
memor compactCLI command — rebuilds the vec0 index with right-sizedchunk_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 storageFull Changelog: v0.6.0...v0.6.1