Verify
Check file integrity without modification.Basic Usage
Options
Examples
Exit Codes
0- All checks passed- Non-zero - One or more checks failed
Doctor
Diagnose and repair issues with memory files.Basic Usage
Options
Examples
Severity Levels
Verify Single File
Ensure no auxiliary files exist alongside your memory file.Basic Usage
.mv2 file with no leftover sidecars:
- No
.walfiles - No
.shmfiles - No
.lockfiles - No
-walfiles - No hidden siblings
Example
Common Maintenance Tasks
After Crashes
If your application crashed while writing:Reclaiming Space
After deleting many frames:Rebuilding Indices
If search isn’t working correctly:Cleaning Up Old Files
Remove leftover files from older versions:Environment Variables
Setting Environment Variables
Debug Commands
Version
Check CLI version:Debug Segment
Inspect internal vector segment data (advanced):Verbose Output
Enable debug logging:Troubleshooting
Time Index Corruption
Symptom:Lexical Index Issues
Symptom:- Search returns no results
has_lex_index: falsein stats
Vector Index Issues
Symptom:- Semantic search not working
has_vec_index: falsein stats
Capacity Issues
Symptom:Lock Issues
Symptom:Best Practices
Regular Maintenance
- Verify periodically: Run
memvid verify --deepweekly or after major ingestion - Vacuum after deletions: Run
--vacuumafter deleting significant content - Monitor capacity: Check
memvid statsbefore large ingestions
Before Sharing Files
- Verify integrity:
memvid verify knowledge.mv2 --deep - Check single-file:
memvid verify-single-file knowledge.mv2 - Review stats:
memvid stats knowledge.mv2
After System Updates
- Verify existing files still work
- Rebuild indices if search behaves differently
- Check for any deprecated features
Next Steps
Create & Ingest
Add more content to your memories
Search & Ask
Query your memories