• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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