sqlite3_int64 sqlite3_memory_highwater( int reset );
reset
If this value is nonzero, the high-water mark will be reset to the current in-use value.
The high-water mark of bytes allocated by the SQLite memory system.