[CF-Devel] gtk client memory leak

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Fri Sep 26 01:12:49 CDT 2003


Preston Crow wrote:
>
     
      I just noticed some horrible problems with memory consumption using the
     
     >
     
      gtk client.  As mentioned before, the process that is actually consuming
     
     >
     
      the memory is X, not gcfclient.  When I kill the client, X releases the
     
     >
     
      memory.
     
     >
     
     
     >
     
      What I find particularly interesting is that this happens on my Gentoo
     
     >
     
      system, but not on my Red Hat system when running with the same client
     
     >
     
      binary.  This supports the idea that it's a problem with a library. 
     
     >
     
      Does anyone know how to debug this sort of thing?  To start with, I
     
     >
     
      would like to find out what resources X is keeping for the client.
     
     >
     
     
     >
     
      Has anyone spent much time looking into this?
     
     
  I tend not to investigate bugs in gtk, even though there are many.

  I'd first take a look at the gtk/glib versions on each of those two systems. 
If the system where hte bug does not occur has later versions of the library, 
I'd just assume that gtk people found and fixed the problem.

  X keeps a bunch of hte resources, the images being the main one.  I could 
certainly see a case where gtk is not freeing the old icon information for 
thinsgs like the inventory/look window as the client animates/changes the the 
image repeatedly.



_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list