Name

sqlite3_memory_highwater() — Get or reset the memory usage high-water mark

Definition

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.

Returns

The high-water mark of bytes allocated by the SQLite memory system.

Description

This function returns the memory usage high-water mark, or the highest seen value. The high-water mark can optionally be reset to the current value.

See Also

sqlite3_memory_used()