[Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, May 15, 2002 at 10:28:00PM +0200, Raimar Falke wrote:
> On Wed, May 15, 2002 at 03:17:45PM -0500, Mike Kaufman wrote:
> > On Wed, May 15, 2002 at 10:09:45PM +0200, Raimar Falke wrote:
> > > On Sat, May 11, 2002 at 12:59:15AM -0500, Mike Kaufman wrote:
> > > > we already have a [smaller] memory leak when diconnecting and
> > > > reconnecting to the server (or quitting the server and restarting it).
> > > > this "fix" really intensifies the memory leak---depending on the
> > > > savegame size---by about an order of magnitude.
> > >
> > > Here is a second fix. There are no additional memory leaks by calling
> > > game_init.
> >
> > how about just changing _init to do an unlink_all first instead of creating
> > a new (redundant) call for _reinit?
>
> This may cover other bugs. Although I have no idea how much remote
> this is.
Possibly, but if we were recalling _init anywhere _and_ it was causing a
problem, we would have known about it before now.
try it and run a couple autogames, and screw around in the client to see if
anything wigs out.
-mike
- [Freeciv-Dev] Wonder obsolesence across games (PR#1434), dspeyer, 2002/05/04
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Raimar Falke, 2002/05/10
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Raimar Falke, 2002/05/15
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Mike Kaufman, 2002/05/15
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Raimar Falke, 2002/05/15
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434),
Mike Kaufman <=
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Raimar Falke, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Ben Webb, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Raimar Falke, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Ben Webb, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Raimar Falke, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Ben Webb, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Mike Kaufman, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Ben Webb, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Mike Kaufman, 2002/05/16
- [Freeciv-Dev] Re: Wonder obsolesence across games (PR#1434), Raimar Falke, 2002/05/16
|
|