[Freeciv-Dev] Re: (PR#7418) memory usage for compiling
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7418 >
On Fri, Feb 13, 2004 at 04:15:21AM -0800, Raimar Falke wrote:
>
> <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.
Or not compiling freeciv that often ... very easy and fast solution.
> > 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
~105 MB
> 173119 ./server/stdinhand.c
~20 MB
> ./client/gui-gtk-2.0/citydlg.c
~25 MB
> 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
x x<M> Simplified Chinese charset (CP936, GB2312)
x x<M> Korean charset (CP949, EUC-KR)
CC [M] fs/nls/nls_cp936.o
CC [M] fs/nls/nls_cp949.o
and < 20 MB RAM ... i don't think that compare the size from the
source-files helps.
38 MB was max for the for the scsi drivers.
And the kernel needed ~38 MB several times for other files.
> 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.
Yes, but it is no problem.
Thomas
--
Thomas Strub *** eMail ue80@xxxxxxxxxxxxxxxxxxxxx
jb: people are stupid, they don't want to learn.
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Jason Short, 2004/02/12
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Raimar Falke, 2004/02/13
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, ue80@xxxxxxxxxxxxxxxxxxxxx, 2004/02/13
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Raimar Falke, 2004/02/13
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, ue80@xxxxxxxxxxxxxxxxxxxxx, 2004/02/13
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Raimar Falke, 2004/02/13
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling,
ue80@xxxxxxxxxxxxxxxxxxxxx <=
- [Freeciv-Dev] (PR#7418) memory usage for compiling, Jason Short, 2004/02/15
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Jason Short, 2004/02/15
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Raimar Falke, 2004/02/16
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Jason Short, 2004/02/16
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Raimar Falke, 2004/02/16
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Jason Short, 2004/02/16
- [Freeciv-Dev] Re: (PR#7418) memory usage for compiling, Raimar Falke, 2004/02/16
|
|