Capacity Tiers
When creating a memory file, you can specify the storage tier:| Tier | Capacity | WAL Size | Typical Use |
|---|---|---|---|
| Free | 50 MB | 70 KB | Personal notes, small projects |
| Starter | 25 GB | 70 KB | Development, prototyping |
| Pro | 125 GB | 70 KB | Production workloads |
| Enterprise | Unlimited | 70 KB | Scale and mission-critical production |
Creating with a Tier
Checking Capacity
CLI
JSON Output
Python SDK
Node.js SDK
Capacity Exceeded Errors
When you try to add content that would exceed the file’s capacity, you’ll get aCapacityExceeded error (MV001).
CLI
Python SDK
Node.js SDK
Managing Capacity
Reclaiming Space
After deleting documents, reclaim unused space:Moving to a Larger File
If you need more capacity, create a new file and migrate:WAL Size and Capacity
The Write-Ahead Log (WAL) size scales with file capacity:| File Capacity | WAL Size | Checkpoint Threshold |
|---|---|---|
| < 100 MB | 1 MB | 768 KB (75%) |
| < 1 GB | 4 MB | 3 MB (75%) |
| < 10 GB | 16 MB | 12 MB (75%) |
| ≥ 10 GB | 64 MB | 48 MB (75%) |
seal().
Monitoring Capacity
Environment Variables
In Scripts
Best Practices
Capacity Planning
- Start small: Begin with the free tier for testing
- Monitor usage: Check
storage_utilisation_percentregularly - Plan ahead: Upgrade before hitting capacity limits
- Use compression: Enable vector compression for large collections
Storage Optimization
- Batch ingestion: Use
put_many()for better storage efficiency - Vector compression: 16x smaller vectors with minimal quality loss
- Clean up deletions: Run
--vacuumafter bulk deletes - Choose appropriate tier: Match tier to your use case