Query for the amount of heap memory used by a session object
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.
SQLite is in the Public Domain.
https://sqlite.org/session/sqlite3session_memory_used.html