SQLite: database or disk is full (SQLITE_FULL)
SQLite couldn't allocate more space: the disk, quota or a configured size limit is full.
database or disk is fullsqlite3.OperationalError: database or disk is fullSQLITE_FULL: database or disk is fullError: SQLITE_FULL Meaning
Free disk space (including the temp directory used for sorts/VACUUM), check container/volume quotas, PRAGMA max_page_count, and delete or VACUUM unused data. Large queries use TMPDIR, so a small /tmp can trigger this.
Common causes
- Disk or volume full
- Small /tmp for sort/temp files
- Quota in a container or cloud function
max_page_countlimit- VACUUM needing extra free space
⚡ Quick fix
- Free disk space
- Set
PRAGMA temp_store_directory/TMPDIRto a larger volume - Check quotas and
max_page_count
Detailed fix by platform
Linux
- bash
df -h . /tmp sqlite3 app.db "PRAGMA max_page_count; PRAGMA page_count;"
How to diagnose
- Disk — Full?
- /tmp — Small?
- Limit — max_page_count?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in SQL
- ORA-00933 ORA-00933: SQL command not properly ended
- pool timeout Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. All pooled connections were in use and max pool size was reached.
- 1267 MySQL ERROR 1267 (HY000): Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '='
Other ways to find it
Where this error sits
Origin: Data. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 18 Nov 2026