This function sets a soft limit on the amount of dynamic heap
memory used by the SQLite library. If a memory allocation would
cause the limit to be exceeded, sqlite3_release_memory() is called in an
attempt to recover memory. If this is not successful, the memory
is allocated anyway, without warning or error.
To remove the limit, simply pass in a zero or negative value.