• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

local variables leak?

Status
Not open for further replies.
Level 6
Joined
Jun 20, 2005
Messages
108
Daelin said:
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.

~Daelin

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).

Thanks for your help
 
Status
Not open for further replies.
Top