Alright, I've read tutorials, and now I believe I know exacly how memory leaks are caused, but I still don't see what they do. For example I read somewhere that using this trigger:
Events: Anything (Map Initialization, Unit Starts Effects of an Ability, etc.)
Conditions: Anything
Actions: Pick Every Unit In Playable Map Area and Kill Pick Unit
This causes a memory leak for some reason, but when I used this trigger all of the units on the map died. Finally to finnish my question, your supposed to use custom script to "clean up" actions (like you set a location and once your done using it you clear/remove it with custom script), what exactly happens if you don't do this?
Events: Anything (Map Initialization, Unit Starts Effects of an Ability, etc.)
Conditions: Anything
Actions: Pick Every Unit In Playable Map Area and Kill Pick Unit
This causes a memory leak for some reason, but when I used this trigger all of the units on the map died. Finally to finnish my question, your supposed to use custom script to "clean up" actions (like you set a location and once your done using it you clear/remove it with custom script), what exactly happens if you don't do this?