Memory usage

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
gandalf
Posts: 157
Joined: August 24th, 2003, 4:15 pm
Location: Sweden

Memory usage

Post by gandalf »

FIY the department of silly statistics reports that a map of size 25x60 with 466 units requires 945 MB of memory in Linux at the 68th turn.
That's over 2 MB per unit...
Angband, the ultimate FPS game!
gandalf
Posts: 157
Joined: August 24th, 2003, 4:15 pm
Location: Sweden

Post by gandalf »

Another note concerning this. After saving the game and quiting the current game and returning back to the main menu, the program seems to still be using all that memory. You are returning the allocated memory, aren't you?
Angband, the ultimate FPS game!
WildPenguin
Posts: 161
Joined: September 6th, 2005, 10:41 pm
Location: Australia

Post by WildPenguin »

There are a number of known memory leaks in 1.1.9 (many of which related to freetype-2.1, If I recall correctly).

The issue is briefly discussed here.
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

And don't forget that the numbers are often misleading. Allocated memory is not used memory.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
gandalf
Posts: 157
Joined: August 24th, 2003, 4:15 pm
Location: Sweden

Post by gandalf »

And certainly not when we have memory leaks. :D
Thanks forpointing that out.
Angband, the ultimate FPS game!
Post Reply