• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Laaaaaaaag

Status
Not open for further replies.
There are a few leaks such as a location in Mine Copy. A example of a potentially big leak is fighter which leaks 2 locations and a rect (GUI region) every time the main action path runs. There are potentially others, with any leak that occurs frequently potentially helping towards poor late game performance.

GUI Replace Unit is used which leaks handle indices due to a game bug. Would have to be used thousands of times to make a difference though...

I would also suggest temporarily removing the Stealth System in case there are leaks or efficiency problems with it.
 
There are a few leaks such as a location in Mine Copy. A example of a potentially big leak is fighter which leaks 2 locations and a rect (GUI region) every time the main action path runs. There are potentially others, with any leak that occurs frequently potentially helping towards poor late game performance.

GUI Replace Unit is used which leaks handle indices due to a game bug. Would have to be used thousands of times to make a difference though...

I would also suggest temporarily removing the Stealth System in case there are leaks or efficiency problems with it.
Mine Copy? and how do I fix leaks?
 
Mine Copy?
Yes the trigger named that in your map.
and how do I fix leaks?
Pass the handle value of objects you create to the appropriate destructor functions after the object is no longer useful.

There are a lot of tutorials on eliminating leaks in Warcraft III triggers.
Things That Leak
Triggers - Memory Leaks and Custom Scripts
Short Tutorial: Avoiding "leaks" and making efficient triggers | Brigand's Haven

And many, many more seeing how it is one of the most common problems people have.
 
Status
Not open for further replies.
Back
Top