Philippe Plantier wrote:
ott wrote:
13981: the game uses lots of memory
There may be some memory leaks in the code. However, we have not been
able to find any. The game does use lots of memory, since it keeps
track of lots of data about the units in each scenario. If the game
uses too much memory, try saving, quitting and restarting the game and
loading your saved game. If you do find a memory leak, please notify
the developers.
I did not found proof of any memory leak when running the game under
valgrind's massif.
I haven't found any memory leaks in the code for a long time either
(recently I did fix a bug where an excessive amount of memory was being
used unnecessarily, but that is resolved).
I think we should change the above text to say that minimizing memory
consumption wasn't a big concern when developing Wesnoth. We also might
want to mention some numbers.
I think that a big part of the issue is that many people might not
understand that if you free memory in the application, the resident
program size as reported by tools such as top or the Windows task
manager doesn't typically go down.
David