Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] Re: (PR#7418) memory usage for compiling
Home

[Freeciv-Dev] Re: (PR#7418) memory usage for compiling

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ue80@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7418) memory usage for compiling
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Fri, 13 Feb 2004 04:15:21 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7418 >

On Fri, Feb 13, 2004 at 12:37:01PM +0100, Thomas Strub wrote:
> On Fri, Feb 13, 2004 at 11:58:40AM +0100, Raimar Falke wrote:
> > On Fri, Feb 13, 2004 at 11:50:34AM +0100, Thomas Strub wrote:
> > > On Fri, Feb 13, 2004 at 11:30:21AM +0100, Raimar Falke wrote:
> > > > On Thu, Feb 12, 2004 at 12:56:27PM -0800, Jason Short wrote:
> > > > I agree that it is a lot. But you have 500mb in this computer. What is
> > > > the problem?
> > > 
> > > The problem ist that i have more programms running, and i don't want to
> > > close one of them because compiling freeciv.
> > 
> > More swap. You don't have to close programs but it will be slow for
> > awhile.
> 
> I know that swap would be a posible solution, but i don't want to use
> swap.

Either (more) swap, more RAM or less other programs.

> And why should freeciv need > 100 MB to compile and for the LINUX
> kernel 35 MB are enough?

Because freeciv has one large single file. Compare:

648716 ./common/packets_gen.c
173119 ./server/stdinhand.c
170791 ./client/gui-sdl/gui_stuff.c
143562 ./client/gui-sdl/dialogs.c
120736 ./client/gui-sdl/citydlg.c
119055 ./client/gui-gtk/citydlg.c
116147 ./server/unittools.c
109988 ./client/gui-sdl/mapview.c
107175 ./server/ruleset.c
104118 ./client/gui-sdl/graphics.c

with (linux 2.4.20):

874123 ./fs/nls/nls_cp949.c
741754 ./drivers/scsi/advansys.c
693339 ./fs/nls/nls_cp936.c
632394 ./drivers/scsi/qlogicfc_asm.c
593423 ./fs/nls/nls_cp950.c
489587 ./fs/nls/nls_cp932.c
401399 ./drivers/scsi/aic7xxx_old.c
376809 ./drivers/scsi/sym53c8xx.c
359166 ./drivers/net/dgrs_firmware.c
323491 ./drivers/telephony/ixj.c

It is very likely that you never compiled one of the above files. But
you may want to report the mem usage for compiling
./fs/nls/nls_cp949.c.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "Windows is the one true OS. MS invented the GUI. MS invented 
   the 32 bit OS. MS is open and standard. MS loves you. We have 
   always been at war with Oceana."




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