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

Leak And Lag

Status
Not open for further replies.
Level 5
Joined
Sep 21, 2012
Messages
68
Hi, is there anything out there that can find leaks faster rather than look at every trigger (already done that) and find them... I can't seem to find any of them. Playing above 45 minutes or more will get my map more and more lag. Causing some functions of the map become unstable and go wrong...
 
Level 11
Joined
Jun 2, 2004
Messages
849
Non-variable sources of leaks include unremoved units (dummy casters often biggest culprit), destructibles, and special effects. Occasionally things like dynamically created triggers.

Creating units will invariably leak a little bit regardless of what you do. You'd have to be creating hundreds if not thousands every minute to get lag in 45 minutes or so though for that to be the problem.



To verify that leaks are in fact the issue, check your system manager to see wc3's memory usage when it's lagging. If it's taking gigabytes of memory then yeah it's a leak issue. If not, then you simply might have too many things active at a time (too many units, too many triggers using waits at the same time, etc).
 
Status
Not open for further replies.
Top