| Previous | Next |
| SQLITE_E_LOCKED | SQLITE_E_READONLY |
SQLITE_E_NOMEM
SQLITE_E_NOMEM corresponds to SQLite SQLITE_NOMEM. A memory allocation required by SQLite failed.
What to check for SQLITE_E_NOMEM
- Measure process memory limits, container limits, address-space pressure, and the size of result sets or bound BLOB values.
- Check application-configured SQLite heap limits or custom allocators before assuming a machine-wide out-of-memory condition.
- Avoid retrying a memory-intensive query unchanged; limit batches, stream data, or reduce working-set requirements.
PRAGMA cache_size;
SQLite: Result and Error Codes
Diagnostic discriminator: Correlate the result with SQLite allocation failure and process memory pressure. This status is memory exhaustion, not a filesystem I/O error or authorization decision.
Looking for a different code? Search another status or error code.