From owner-freebsd-stable@FreeBSD.ORG Thu Feb 28 01:41:23 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 66C95E1E for ; Thu, 28 Feb 2013 01:41:23 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from rush.bluerosetech.com (rush.bluerosetech.com [IPv6:2607:fc50:1000:9b00::25]) by mx1.freebsd.org (Postfix) with ESMTP id 3E7DCCA for ; Thu, 28 Feb 2013 01:41:23 +0000 (UTC) Received: from chombo.houseloki.net (c-76-27-220-79.hsd1.wa.comcast.net [76.27.220.79]) by rush.bluerosetech.com (Postfix) with ESMTPSA id 13D7A11437 for ; Wed, 27 Feb 2013 17:41:15 -0800 (PST) Received: from [127.0.0.1] (ivo.houseloki.net [10.9.70.20]) by chombo.houseloki.net (Postfix) with ESMTPSA id CF2704DE for ; Wed, 27 Feb 2013 17:41:13 -0800 (PST) Message-ID: <512EB5BD.1020803@bluerosetech.com> Date: Wed, 27 Feb 2013 17:41:17 -0800 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Building RELENG_9 (or RELENG_9_*) on a small machine? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 01:41:23 -0000 So I have this VM which only has 256 MB of memory and 9.1-R installed. I want to update it to RELENG_9, but buildworld swaps so bad it grinds nearly to a halt. Even make -j1 -B runs into very heavy swapping. So two questions: 1. Is there anything I can do to set a limit on how much memory the compiler uses? 2. If I crossbuild for this machine, can I get away with doing buildworld on a buildbox, ship the obj tree, and do installworld and mergemaster on the VM? It's been a few enternities since I did a cross build and back then it was crossbuilding releases.