puts "========" puts "OCC277" puts "========" puts "" pload QAcommands OCC277 set listmem {} set i_max 10 for {set i 1} {${i} <= ${i_max}} {incr i} { OCC277 lappend listmem [meminfo h] if { [checktrend $listmem 0 1 "Memory leak detected"] } { puts "No memory leak, $i iterations" break } }