SQLite PRAGMA

PRAGMA soft_heap_limit

This pragma invokes the sqlite3_soft_heap_limit64() interface with the argument N, if N is specified and is a non-negative integer.

PRAGMA soft_heap_limit PRAGMA soft_heap_limit=N

What the SQLite documentation says

This pragma invokes the sqlite3_soft_heap_limit64() interface with the argument N, if N is specified and is a non-negative integer. The soft_heap_limit pragma always returns the same integer that would be returned by the sqlite3_soft_heap_limit64(-1) C-language function.

See also the hard_heap_limit pragma.

From sqlite.org's pragma documentation for SQLite 3.54.1, in the public domain.

← shrink_memory · stats →