- 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?
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?