Menu

#31 TSIPP: SippBlock causes a memory leak

open
8
2002-05-28
2002-05-28
No

Run the program tksipp. The following command causes
a substantial memory leak, as observed with "top":

for {set i 0} {$i < 10000} {incr i} {
SippReset
SippBlock {0.1 0.1 0.1} \
[SippShaderBasic 0.5 0.1 0.1 {0.3 0.3 0.3} 1.0]
}

while the following command does not:

for {set i 0} {$i < 10000} {incr i} {
SippReset
SippCone 0.5 0.5 6 8 \
[SippShaderBasic 0.5 0.1 0.1 {0.3 0.3 0.3} 1.0]
}

The implication for the TSIPPwb user is that if
automatic rendering mode is used for a scene with many
Cuboids, memory usage will increase, and if it reaches
a system limit, the program will be killed.

WORKAROUND

Monitor memory usage using "top". If it appears
excessive, save the work and quit from TSIPPwb and
reload.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB