URL:
  <http://gna.org/bugs/?16995>

                 Summary: Memory leak due to not freeing big sprites
                 Project: Freeciv
            Submitted by: hackcasual
            Submitted on: Monday 11/01/2010 at 19:57
                Category: client
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.2.3
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

As best as I can determine, tiles are loaded in two phases: 1) When the
client starts up, cursors, fog, and some other misc. sprites are loaded.

This is done in: tileset_load_tiles which takes care of freeing the large
files.

Then upon connecting to a server, the bulk of the terrain sprites are loaded
after receiving ruleset information. However the big sprites are not freed
after this.

For Amplio this is a cost of 20MB




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16995>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to