Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 13:16:19 +0100
From:      Antony T Curtis <antony@abacus.co.uk>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Has anybody built MySQL lately?
Message-ID:  <397D8513.412C8690@abacus.co.uk>
References:  <xzp8zuq1lba.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav wrote:
> 
> When I try to build MySQL on 4.1-RC2 (running on a -CURRENT kernel,
> but that shouldn't make any difference), I get the following when it
> reaches sql_yacc.cc:
> 
> last pid: 83002;  load averages:  1.34,  1.41,  1.50    up 6+23:58:13  13:46:42
> 101 processes: 1 running, 100 sleeping
> CPU states:  3.3% user,  0.0% nice,  6.9% system,  0.0% interrupt, 89.8% idle
> Mem: 129M Active, 7080K Inact, 44M Wired, 5240K Cache, 29M Buf, 576K Free
> Swap: 512M Total, 232M Used, 280M Free, 45% Inuse, 1788K In, 780K Out
> 
>   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 82846 root     -22   0   215M   119M swread  20:24 31.10% 31.10% cc1plus
> 
> At about that point I have to kill it to stop the machine from
> swapping itself to oblivion...

sql_yacc.cc  does take a lot of memory to build with optimisation.

Since it was generated with bison, it doesn't benefit much from
optimisation - compile with just -O and it will use much less memory.

-- 
ANTONY T CURTIS                     Tel: +44 (1635) 36222
Abacus Polar Holdings Ltd           Fax: +44 (1635) 38670

Your fortune :
  I know th'MAMBO!!  I have a TWO-TONE CHEMISTRY SET!!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?397D8513.412C8690>