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

Memory leaks... anything I'm forgetting here?

Status
Not open for further replies.
Level 15
Joined
Jul 15, 2005
Messages
356
I've got something of a problem with one of my (single player only) maps.

The map shows definite signs of memory leakage. The map plays fine most of the time, but if you try to finish it in one sitting, then near the end it begins to get progressively more sluggish, until it's running like a slideshow. This seems to happen almost inevitably, and doesn't seem to depend on what exactly is going on on-screen at the time - it'll slow down progressively even if I'm just having my characters sit there doing nothing. The only way to restore the speed to normal is to save the game and re-load.

I thought that my periodic triggers and ability triggers were to blame. I've in the meantime learned how to clean up memory leaks caused by locations, unit groups and special effects, and so I cleaned any such leaking actions in my periodic and ability triggers.

Yet there seems to have been no improvement in my map. It still slows down, and seems to do it now slower than before too.

So, is there something I've missed? Are there any other actions that cause massive memory leakage? Are there GUI commands I should be avoiding at all costs? Pausing units, perhaps? Or something else?

Any help anyone?
 
Level 6
Joined
Sep 17, 2005
Messages
276
it seems one of your triggers causes leaking on and on causing always new leaks...

well its hard to say what exactly your problem is because sources of leaks are existing mass and every trigger could cause this...

mostly it are special effects that you dont destroy or units from a created unit group or pick-unit functions.

well, thats all i can say for now... :roll:
 
Status
Not open for further replies.
Top