Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
c_status_malloc_count.html

Index Summary Markup Original


R-30814-53756-49698-58904-46011-12554-22448-40537 tcl slt th3 src

SQLITE_STATUS_MEMORY_USED This parameter is the current amount of memory checked out using sqlite3_malloc(), either directly or indirectly. The figure includes calls made to sqlite3_malloc() by the application and internal memory usage by the SQLite library. Scratch memory controlled by SQLITE_CONFIG_SCRATCH and auxiliary page-cache memory controlled by SQLITE_CONFIG_PAGECACHE is not included in this parameter. The amount returned is the sum of the allocation sizes as reported by the xSize method in sqlite3_mem_methods.

/* IMP: R-30814-53756 */
# EVIDENCE-OF: R-30814-53756 SQLITE_STATUS_MEMORY_USED This parameter is
# the current amount of memory checked out using sqlite3_malloc(),
# either directly or indirectly. The figure includes calls made to
# sqlite3_malloc() by the application and internal memory usage by the
# SQLite library. Scratch memory controlled by SQLITE_CONFIG_SCRATCH and
# auxiliary page-cache memory controlled by SQLITE_CONFIG_PAGECACHE is
# not included in this parameter. The amount returned is the sum of the
# allocation sizes as reported by the xSize method in
# sqlite3_mem_methods.

R-18160-48734-12487-09997-11031-61003-43897-08278 tcl slt th3 src

SQLITE_STATUS_MALLOC_SIZE This parameter records the largest memory allocation request handed to sqlite3_malloc() or sqlite3_realloc() (or their internal equivalents). Only the value returned in the *pHighwater parameter to sqlite3_status() is of interest. The value written into the *pCurrent parameter is undefined.

/* IMP: R-18160-48734 */
# EVIDENCE-OF: R-18160-48734 SQLITE_STATUS_MALLOC_SIZE This parameter
# records the largest memory allocation request handed to
# sqlite3_malloc() or sqlite3_realloc() (or their internal equivalents).
# Only the value returned in the *pHighwater parameter to
# sqlite3_status() is of interest. The value written into the *pCurrent
# parameter is undefined.

R-29137-58191-04727-48044-60255-14464-15278-17646 tcl slt th3 src

SQLITE_STATUS_MALLOC_COUNT This parameter records the number of separate memory allocations currently checked out.

/* IMP: R-29137-58191 */
# EVIDENCE-OF: R-29137-58191 SQLITE_STATUS_MALLOC_COUNT This parameter
# records the number of separate memory allocations currently checked
# out.

R-36399-45840-38419-49366-05932-18953-07682-47549 tcl slt th3 src

SQLITE_STATUS_PAGECACHE_USED This parameter returns the number of pages used out of the pagecache memory allocator that was configured using SQLITE_CONFIG_PAGECACHE. The value returned is in pages, not in bytes.

/* IMP: R-36399-45840 */
# EVIDENCE-OF: R-36399-45840 SQLITE_STATUS_PAGECACHE_USED This parameter
# returns the number of pages used out of the pagecache memory allocator
# that was configured using SQLITE_CONFIG_PAGECACHE. The value returned
# is in pages, not in bytes.

R-46798-18657-50742-54084-49745-39581-20744-29339 tcl slt th3 src

SQLITE_STATUS_PAGECACHE_OVERFLOW This parameter returns the number of bytes of page cache allocation which could not be satisfied by the SQLITE_CONFIG_PAGECACHE buffer and where forced to overflow to sqlite3_malloc(). The returned value includes allocations that overflowed because they where too large (they were larger than the "sz" parameter to SQLITE_CONFIG_PAGECACHE) and allocations that overflowed because no space was left in the page cache.

/* IMP: R-46798-18657 */
# EVIDENCE-OF: R-46798-18657 SQLITE_STATUS_PAGECACHE_OVERFLOW This
# parameter returns the number of bytes of page cache allocation which
# could not be satisfied by the SQLITE_CONFIG_PAGECACHE buffer and where
# forced to overflow to sqlite3_malloc(). The returned value includes
# allocations that overflowed because they where too large (they were
# larger than the "sz" parameter to SQLITE_CONFIG_PAGECACHE) and
# allocations that overflowed because no space was left in the page
# cache.

R-22517-09812-56179-10540-44970-47912-40768-05667 tcl slt th3 src

SQLITE_STATUS_PAGECACHE_SIZE This parameter records the largest memory allocation request handed to pagecache memory allocator. Only the value returned in the *pHighwater parameter to sqlite3_status() is of interest. The value written into the *pCurrent parameter is undefined.

/* IMP: R-22517-09812 */
# EVIDENCE-OF: R-22517-09812 SQLITE_STATUS_PAGECACHE_SIZE This parameter
# records the largest memory allocation request handed to pagecache
# memory allocator. Only the value returned in the *pHighwater parameter
# to sqlite3_status() is of interest. The value written into the
# *pCurrent parameter is undefined.

R-15554-05778-32243-62840-23566-06701-05501-03594 tcl slt th3 src

SQLITE_STATUS_SCRATCH_USED This parameter returns the number of allocations used out of the scratch memory allocator configured using SQLITE_CONFIG_SCRATCH. The value returned is in allocations, not in bytes. Since a single thread may only have one scratch allocation outstanding at time, this parameter also reports the number of threads using scratch memory at the same time.

/* IMP: R-15554-05778 */
# EVIDENCE-OF: R-15554-05778 SQLITE_STATUS_SCRATCH_USED This parameter
# returns the number of allocations used out of the scratch memory
# allocator configured using SQLITE_CONFIG_SCRATCH. The value returned
# is in allocations, not in bytes. Since a single thread may only have
# one scratch allocation outstanding at time, this parameter also
# reports the number of threads using scratch memory at the same time.

R-19021-59629-04270-46349-53725-18119-32890-29092 tcl slt th3 src

SQLITE_STATUS_SCRATCH_OVERFLOW This parameter returns the number of bytes of scratch memory allocation which could not be satisfied by the SQLITE_CONFIG_SCRATCH buffer and where forced to overflow to sqlite3_malloc(). The values returned include overflows because the requested allocation was too larger (that is, because the requested allocation was larger than the "sz" parameter to SQLITE_CONFIG_SCRATCH) and because no scratch buffer slots were available.

/* IMP: R-19021-59629 */
# EVIDENCE-OF: R-19021-59629 SQLITE_STATUS_SCRATCH_OVERFLOW This
# parameter returns the number of bytes of scratch memory allocation
# which could not be satisfied by the SQLITE_CONFIG_SCRATCH buffer and
# where forced to overflow to sqlite3_malloc(). The values returned
# include overflows because the requested allocation was too larger
# (that is, because the requested allocation was larger than the "sz"
# parameter to SQLITE_CONFIG_SCRATCH) and because no scratch buffer
# slots were available.

R-28888-42274-08103-28138-34725-55152-28406-13778 tcl slt th3 src

SQLITE_STATUS_SCRATCH_SIZE This parameter records the largest memory allocation request handed to scratch memory allocator. Only the value returned in the *pHighwater parameter to sqlite3_status() is of interest. The value written into the *pCurrent parameter is undefined.

/* IMP: R-28888-42274 */
# EVIDENCE-OF: R-28888-42274 SQLITE_STATUS_SCRATCH_SIZE This parameter
# records the largest memory allocation request handed to scratch memory
# allocator. Only the value returned in the *pHighwater parameter to
# sqlite3_status() is of interest. The value written into the *pCurrent
# parameter is undefined.

R-37652-04911-31573-58834-59963-33871-29287-50836 tcl slt th3 src

SQLITE_STATUS_PARSER_STACK The *pHighwater parameter records the deepest parser stack. The *pCurrent value is undefined. The *pHighwater value is only meaningful if SQLite is compiled with YYTRACKMAXSTACKDEPTH.

/* IMP: R-37652-04911 */
# EVIDENCE-OF: R-37652-04911 SQLITE_STATUS_PARSER_STACK The *pHighwater
# parameter records the deepest parser stack. The *pCurrent value is
# undefined. The *pHighwater value is only meaningful if SQLite is
# compiled with YYTRACKMAXSTACKDEPTH.