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: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Christian Knoke <ChrisK@xxxxxxxx>, Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] New city dialog (8a)
From: Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>
Date: Thu, 6 Sep 2001 13:14:35 -0500

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?

-mike

> 
>       Raimar
> 
> -- 
>  email: rf13@xxxxxxxxxxxxxxxxx
>   Two OS engineers facing a petri net chart:
>         "dead lock in four moves!"


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