MEMSTATUS
Enables or disables the collection of memory allocation statistics. When memory allocation statistics are disabled, the following SQLite interfaces become non-operational:
sqlite3_hard_heap_limit64()
sqlite3_memory_used()
sqlite3_memory_highwater()
sqlite3_soft_heap_limit64()
sqlite3_status64()
Memory allocation statistics are enabled by default unless SQLite is compiled with SQLITE_DEFAULT_MEMSTATUS=0 in which case memory allocation statistics are disabled by default.