aa_used_application_memory (private)
aa_used_application_memory
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Return the currently used application memory. This function depends on the usage of TCMalloc from Google Performance Tools.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {[::acs::icanuse "ns_info meminfo"]} { set mem_info [ns_info meminfo] dict with mem_info { # check for a line looking in the TCMalloc result like: # # MALLOC: 2531634144 ( 2414.4 MiB) Bytes in use by application # if {[info exists stats] && [regexp {\nMALLOC:\s+(\d+)\s} $stats . bytes]} { set old_value [nsv_set -reset aa_test application_memory $bytes] if {$old_value ne ""} { return [list current $bytes diff [expr {$bytes - $old_value}]] } } } }XQL Not present: Generic, PostgreSQL, Oracle