Small. Fast. Reliable.
Choose any three.

Session Module C Interface

Query for the amount of heap memory used by a session object.

sqlite3_int64 sqlite3session_memory_used(sqlite3_session *pSession);

This API returns the total amount of heap memory in bytes currently used by the session object passed as the only argument.

See also lists of Objects, Constants, and Functions.