whats memory leak??

General discussion of Warcraft 3. Threads may may be posted here if they don't fit into the other sections.

Moderator: Cheaters

projecttemp
Junior Member
Posts: 40
Joined: November 26th, 2007, 6:09 pm

whats memory leak??

Post by projecttemp »

i heard many of u talking a bout memory leak when u make a trigeer, but what is a memory leak?? adn how do a memory leak happen??
User avatar
Kupownage
Junior Member
Posts: 35
Joined: January 6th, 2008, 12:10 am

Re: whats memory leak??

Post by Kupownage »

A memory leak is the result of a sloppy trigger. When a trigger runs, and lacks a command to remove itself immediately after use, it stays and eats memory. These leaks build up over time (as more triggers without proper removal commands build up) and will eventually cause even the best of computers to run ssssssssllllllllllllllllllllllooooooooooooooooowwwwwwwwwwwwwwwwwwwwwwwlllllllllllllllllllllllllllyyyyyyyyyyyyyyyyy

Mem leaks are bad, I suggest taking a basic mapping tutorial before you start working with triggers, It's one of the first things thats covered.