1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
puts "TODO ?OCC7287 ALL: Tcl Exception: Memory leak detected"
puts "TODO ?OCC7287 ALL: TEST INCOMPLETE"
puts "============"
puts "OCC7287"
puts "============"
puts ""
######################################################
# Problem of Memory Leak
######################################################
#
# Result is Null shape
#
set BugNumber OCC7287
set NCycles 100
box b1 100 100 100
box b2 50 50 50
set listmem {}
for {set i 1} {${i} <= ${NCycles}} {incr i } {
bop b1 b2
bopcut r
lappend listmem [meminfo h]
if { [checktrend $listmem 0 100 "Memory leak detected"] } {
puts "No memory leak, $i iterations"
break
}
}
|