From owner-freebsd-questions@FreeBSD.ORG Tue Oct 3 01:31:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15DEB16A407 for ; Tue, 3 Oct 2006 01:31:36 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 091C743D76 for ; Tue, 3 Oct 2006 01:31:29 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1GUZ83-0001QI-Lw; Tue, 03 Oct 2006 02:31:27 +0100 Received: from [82.41.253.33] (helo=[192.168.0.2]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1GUVAU-0003UR-O3; Mon, 02 Oct 2006 22:17:42 +0100 Message-ID: <452181F5.5010904@dial.pipex.com> Date: Mon, 02 Oct 2006 22:17:41 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Pete Slagle References: <45217C65.5040406@voidcaptain.com> In-Reply-To: <45217C65.5040406@voidcaptain.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Ruby gaining weight? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 01:31:36 -0000 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 > > >