Well, had you tried to create the vector entity 1 frame
back? and in case
you need to put it in 0
on enterframe me
test.x = 0
test.y = 0
test.z = 0
end
Maybe the garbage collector drives nuts if you create an
instance of the
vector several times in one second.
HTH
L.
-----Mensaje original-----
De: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-bounces nuttybar.drama.uga.edu]En
nombre de Alexx
Enviado el: Friday, March 23, 2007 8:04 AM
Para: Director - Shockwave - and Flash Game Production
Asunto: [dirGames-L] Strange Memory Leak
Hi,
I have a "big" problem : put this piece of code in
a frame script and
run the movie
global test
on enterframe me
test = vector(0,0,0)
end
on exitFrame me
go to the frame
end
watch the memory inspector : the ram used by the program
will grow up to
4k / 6k every second
why ??? how to prevent this ?
thanks
Alexx
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|