Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [Patch] New city dialog (8a)
Home

[Freeciv-Dev] Re: [Patch] New city dialog (8a)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>
Cc: Christian Knoke <ChrisK@xxxxxxxx>, Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] New city dialog (8a)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Sep 2001 20:22:58 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, Sep 06, 2001 at 01:14:35PM -0500, Mike Kaufman wrote:
> On Thu, Sep 06, 2001 at 08:01:47PM +0200, Raimar Falke wrote:
> > On Thu, Sep 06, 2001 at 07:18:37PM +0200, Christian Knoke wrote:
> > > Am Donnerstag,  6. September 2001 15:19 schrieb Raimar Falke:
> > > > On Thu, Sep 06, 2001 at 02:53:46PM +0200, Christian Knoke wrote:
> > > > > Hhm. While I'm writing this and playing with the dialog, X eats up
> > > > > all my memory:
> > > > >
> > > > > [...]
> > > > >
> > > > > Never seen this before. Just opening and switching a few cities
> > > > > makes VSZ grow from 99616 to 104380.
> > > >
> > > > This is normal. The X server just caches some stuff:
> > > >
> > > 
> > > Really? And ends up in swapping 60 MB to my disk?
> > 
> > If the these 60 MB are unused data of other processes: yes.
> > 
> > Another reason could be that the new dialog doesn't free all allocated
> > X11 resources.
> 

> this is very possible. I haven't gone through carefully to make sure
> everthing gets freed. I guess a check would be to only have one
> city. Open and close the dialog several times. The max memory usage
> shouldn't change after the first open?

Yes. But I think it isn't easy to debug this. Maybe you can do a
normal memory leak test as a preparation step?!

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The BeOS takes the best features from the major operating systems. 
  It's got the power and flexibility of Unix, the interface and ease 
  of use of the MacOS, and Minesweeper from Windows."


[Prev in Thread] Current Thread [Next in Thread]