[Freeciv-Dev] Re: [Patch] New city dialog (8a)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 6 Sep 2001, Raimar Falke wrote:
> > > 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?!
They way you debug this is to look at every single instance where you allocate
memory or do something that allocates resources on the X server. Then you
make sure that all those will be freed in some way. It's very hard. I spent
many hours removing memory leaks from the client.
- [Freeciv-Dev] BUG: city report., (continued)
[Freeciv-Dev] Re: [Patch] New city dialog (8a), Christian Knoke, 2001/09/06
- [Freeciv-Dev] Re: [Patch] New city dialog (8a), Raimar Falke, 2001/09/06
- [Freeciv-Dev] Re: [Patch] New city dialog (8a), Jules Bean, 2001/09/06
- [Freeciv-Dev] Re: [Patch] New city dialog (8a), Christian Knoke, 2001/09/06
- [Freeciv-Dev] Re: [Patch] New city dialog (8a), Raimar Falke, 2001/09/06
- [Freeciv-Dev] Re: [Patch] New city dialog (8a), Mike Kaufman, 2001/09/06
- [Freeciv-Dev] Re: [Patch] New city dialog (8a), Raimar Falke, 2001/09/06
- [Freeciv-Dev] Re: [Patch] New city dialog (8a),
Trent Piepho <=
- [Freeciv-Dev] Re: [Patch] New city dialog (8a), Raimar Falke, 2001/09/09
[Freeciv-Dev] Re: [Patch] New city dialog (8a), Mike Kaufman, 2001/09/06
[Freeciv-Dev] Re: [Patch] New city dialog (8a), Christian Knoke, 2001/09/06
[Freeciv-Dev] Re: [Patch] New city dialog (8a), Mike Kaufman, 2001/09/06
|
|