Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Oct 2006 22:17:41 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Pete Slagle <freebsd-questions@voidcaptain.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Ruby gaining weight?
Message-ID:  <452181F5.5010904@dial.pipex.com>
In-Reply-To: <45217C65.5040406@voidcaptain.com>
References:  <45217C65.5040406@voidcaptain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pete Slagle wrote:

>Recent versions of ruby18 seem to take more than 145 MB of virtual
>memory to build with portupgrade or "make install clean."
>
>I have several "classic" boxes running bind and a mail MTA on 4.11 that
>are memory-limited, but otherwise work well. The main boards are maxed
>out at 64 MB of RAM, and they have 128 MB of swap. The ruby build fails
> as swap space becomes exhausted.
>
>Sure, I could reorganize the hard drives on these boxes to add more
>swap, but nothing else needs more that a few KB. Moreover, rebuilding
>the hard drives is to be avoided since these machines are part of a
>basic infrastructure that has been stable for years.
>
>Is ruby really that piggy, or do I just have a configuration issue?
>  
>
Karol Kwiatkowski wrote less than a week ago:

>Just some thoughts as others already identified the problem:
>
>here's similar thread with some workarounds:
>http://lists.freebsd.org/pipermail/freebsd-questions/2006-September/131328.html
>
>In the meantime I've found NOPORTDOCS variable - if you don't need
>ruby docs just disable them (docs are generated during install part)
>
># cd /usr/ports/lang/ruby18
># make -DNOPORTDOCS install
>
>The install part without docs takes about 30 seconds on 400Mhz/96MB
>machine (it would take hours otherwise).
>
>HTH,
>
>Karol
>
>  
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452181F5.5010904>