After the increase of the number of players and the map size I did plan a 
check of the memory requirement of the different freeciv versions. I finished 
this now and the attached pdf files shows some results.

The first two pages show the RAM used by the server as listed by pmap. A 
savefile with the default settings and aifill = X, map size = Y at turn 100 
was loaded. Only one value of X or Y was changed while the other was set to 

The requirements increase fro release to release; but with 2.3 it goes down 
for bigger maps. I also tested a game with aifill 100 and mapsize 100 - the 
server allocates up to 900MB RAM!

The last two slides show the size of the savegame. For small number of players 
and map sizes is is OK. But increasing these numbers the size of the savegame 
increases and, if both are set to 100 the uncompressed savegame reaches a size 
of over 100MB. For such savegames the time needed to compress the data is 

For the client, the memory consumption is increased from 1.14 to 2.2 (xaw to 
gtk2). After that, nearly no change is visible. The client uses up to 500MB, 
mostly for the graphical toolkit.

If there are questions please ask.

Matthias Pfafferodt -
Matthias.Pfafferodt <at>

Attachment: freeciv_memory.pdf
Description: Adobe PDF document

Freeciv-dev mailing list

Reply via email to