• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Upgrading buldings

Status
Not open for further replies.
Level 13
Joined
Apr 15, 2008
Messages
1,063
I have a little problem in my map: when i upgrade a building, it consumes about 1MB of memory. Since my map is based on upgrading buildings over and over, it has became an issue. I tried disabling all the triggers and the problem remains, so it not caused by leaks. Is it possible that it is caused by different pathing map/collision size/ or any other attribute of the two units?
 
I have a little problem in my map: when i upgrade a building, it consumes about 1MB of memory. Since my map is based on upgrading buildings over and over, it has became an issue. I tried disabling all the triggers and the problem remains, so it not caused by leaks. Is it possible that it is caused by different pathing map/collision size/ or any other attribute of the two units?

Are you certain that it is consuming 1MB of memory every time? How are you getting this number?
 
I read the values from Windows Task Manager. If i don't do anything, it stays at 105MB, when i upgrade building (without doing anything else) it goes up by 0.7-1MB. I tried exporting data to another map (free of triggers) and it still consumed the memory. I thought there may be some problem with pathing, because in another map i did, incredible lags were caused only by moving units with pathing maps.
What i actually wanted to know was which attributes should be same on both the original and upgraded unit.
 
Status
Not open for further replies.
Back
Top