Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
does the use of local variables causes memory leak if they get nullified after the use? I mean.. they stay somewhere in the memory just not pointing to anything.. or do they get erased away?
There seems to be a problem with that. Beats me why, but that useless pointing seems to consume memory. I think Cubasis or KaTTana proved that so it's better to nullify them. This must be one of Blizzard's fault.
There seems to be a problem with that. Beats me why, but that useless pointing seems to consume memory. I think Cubasis or KaTTana proved that so it's better to nullify them. This must be one of Blizzard's fault.
I read your tutorials about triggers and jass, and the others you linked in it.. thats why I'm asking about local variables.. it didn't get clear to me.. instead of using "pick every unit in region" im setting them to a variable, and in the end of the trigger I set it to null, but this makes my spell not MUI I think.. I was thinking of using local variables to solve this problem, but you said it leaks too.. what should I do? I tried to make every player to have his own TempVariable, but this takes too much memory too (though it seem to not leak).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.