Re: [GnomeMeeting-list] Compiling opal - memory errors
- From: Derek Smithies <derek indranet co nz>
- To: GnomeMeeting mailing list <gnomemeeting-list gnome org>
- Subject: Re: [GnomeMeeting-list] Compiling opal - memory errors
- Date: Sat, 22 Apr 2006 10:13:51 +1200 (NZST)
Hi,
> Isn't that something of a design flaw requiring 768 MB of memory for
> one process? Seems like they could make it easier to compile.
Well, let me tell you my thoughts, and conclusion.
In 1999, when I joined openh323, you could compile the openh323 library on
a box with 64 meg of ram, celeron 400 computer.
and then gcc changed the way it does things, and we had version 2.96.2
(version number is about there, cannot remember exactly)
and the compile process demanded 256 meg of ram,
and the final library size jumped by a factor of 4.
And then the openh323 list was (literally) flooded with messages about,
"why is it so big",
"what can be done to make it smaller"
"why does it not compile"
I note that msvc creates executables much much smaller, with less ram
required.
So, yes, I tend to agree with you. There is a design flaw. In my view, the
flaw is in GCC.
Derek.
========================================================================
On Fri, 21 Apr 2006, Tylerious wrote:
> Oh, thanks for the warning. And the suggestion; I didn't know how to
> do that. Another 512 MB of swap worked great. Thanks again.
>
> Isn't that something of a design flaw requiring 768 MB of memory for
> one process? Seems like they could make it easier to compile.
>
> Tyler Wake
> On 4/20/06, simon <simon mungewell org> wrote:
> > On Thu, Apr 20, 2006 at 04:19:40PM -0400, Tylerious wrote:
> > > I've tried both those distributions, actually. However, I spent at
> > > least three days straight compiling my current Gentoo system. A pain,
> > > but everything just works (except stuff like this, naturally). I may
> > > have to give up and go back to something else. Or maybe plug in a
> > > large flash drive and mount it as swap.
> >
> > I wouldn't use a flash drive as swap - it'll cause a lot of wear to the
> > device causing it to fail earlier...
> >
> > If you have spare disk space then you can use a swap file (rather than a
> > swap partion). Commands are something like:
> > ---
> > dd if=/dev/zero of=large_swap_file bs=1M count=1024 # gives 1GiByte
> > mkswap large_swap_file
> > swapon large_swap_file
> > ---
> >
> > and after the compile
> > ---
> > swapoff large_swap_file
> > rm large_swap_file
> > ---
> >
> > Have fun,
> > Simon.
> > _______________________________________________
> > GnomeMeeting-list mailing list
> > GnomeMeeting-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> >
> _______________________________________________
> GnomeMeeting-list mailing list
> GnomeMeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
>
--
Derek Smithies Ph.D. Any fool can write code that
IndraNet Technologies Ltd. a computer can understand.
Email: derek indranet co nz Good programmers write code
ph +64 3 365 6485 that humans can understand.
Web: http://www.indranet-technologies.com/ Martin Fowler
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]