1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-31 11:15:31 +03:00
occt/tests/bugs/fclasses/bug7287_1
pkv 5d3ec53550 0026567: Exception in Boolean intersection command
Correcting the usage of NCollection_IncAllocator
2015-09-16 10:48:26 +03:00

29 lines
496 B
Plaintext
Executable File

puts "============"
puts "OCC7287"
puts "============"
puts ""
######################################################
# Problem of Memory Leak
######################################################
#
# Result is Null shape
#
set BugNumber OCC7287
set NCycles 10
box b1 100 100 100
box b2 50 50 50
bop b1 b2
bopcut r
set listmem {}
for {set i 1} {${i} <= ${NCycles}} {incr i } {
bop b1 b2
bopcut r
lappend listmem [meminfo h]
checktrend $listmem 0 10 "Memory leak detected"
}