• 🏆 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!

[General] war3.exe task manager memory consumtion, is it normal?

Status
Not open for further replies.
Level 6
Joined
May 29, 2013
Messages
127
First, I know about memory leaks. and I removed memory leaks. I did as much as I could.
but war3.exe memory usage increase when I play my map.
war3.exe have 600~700mb usage about an hour later.
This memory consumtion is usually caused by units in battle and die. It is permanent.
Memory does not increase when player do not anything.

My map is huge scale RTS map. entire game is battle and many units die.
Then by the time game was a an hour old, few players crashed by Not enough storage is available(but other few players are just fine)
I think maybe there is leak I don't know. but I can't find leaks any trigger
and this unit battle memory consumtion occurred after I delete all the trigger in my map.
I tried to play other RTS map, they have memory consumtion in battle too.

So my question is three thing.

1. Is it normal?
2. Or is this a flaw in the war3.exe application?
3. How can I fix this?

Thanks for reading. and sorry for my english. english is not my first language...
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
WC3 inherently has memory leaks within a session. Specifically strings, units, destructables, etc all leak. I think these leaks are cleaned up between sessions though, hence why exiting can take some time to complete.

Warcraft III also caches some data between sessions to speed up loading times. This means that exiting a session will never return the game to its original size.

Due to the nature of memory allocation systems it is possible that the game will never return to original size. All it takes is a single object to persist on a memory page and the memory page will not be able to be freed. The rest of the page will remain reserved for allocation, so the memory is technically not fully used.
 
Status
Not open for further replies.
Top