Name

sqlite3_memory_used() — Get the current memory use

Definition

sqlite3_int64 sqlite3_memory_used( );
Returns

The number of bytes currently allocated by the SQLite memory system.

Description

This function returns the current number of bytes allocated by the SQLite memory functions. This figure includes all of the overhead introduced by the SQLite allocator, but does not include any overhead required by the system memory handlers.

See Also

sqlite3_memory_highwater(), sqlite3_malloc()