SQLite Forum

Temporary data when running out of memory
Login
No.  Yes and correct.

In those instances you have told SQLite3 to not manage temporary storage and to instead use allocated memory.  Unless you have made provision otherwise, this will be memory obtained from the standard C library "malloc" function and however the Operating System chooses to allocate and manage that memory is up to the Operating System and the Operating System will continue to allocate memory however it has been told to do so up to whatever limit has been set (by whatever means you set it -- externally to the SQLite3 library) until none is left.