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.

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.