From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 15:51:32 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E58A1C2D for ; Sat, 22 Nov 2014 15:51:32 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B71EF47 for ; Sat, 22 Nov 2014 15:51:32 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id x12so8883626wgg.36 for ; Sat, 22 Nov 2014 07:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=eJMT0a2lSWwF3g5rtVq10qB5vzZJfXO0/DPqvOKqfXY=; b=msdPT70bDmyF+gW//0VNeITKc3i33wxt96Rk7jZj6T6y7gagIM1xvH/9nrEhE6ENC7 EKHuM2t9k9PFAkFKMaYvGD3gh1Ek3w84bBmdjQ3vLdVy0C21G7B0ZCQqkFysfZN6ZuKQ QmYrqsXxPaezYI67BVuh0AfZ7L34Bs7SludPFaiq4EdIlEiGWa9rANjozRoQhmJ/vKMB PlCIhlJZhg3kSepbaAWHoqwjduoO1qPIod2HbICmYMkXHpw29+574WArIes4y2v6LN9c kZs4rQFw+ChPkoDFUO4uaofJammhXTwnc1EAL9N4nOjLIvhafA5RS5W18L8pdVsKM+7s mtLA== MIME-Version: 1.0 X-Received: by 10.194.178.231 with SMTP id db7mr17650506wjc.112.1416671490953; Sat, 22 Nov 2014 07:51:30 -0800 (PST) Received: by 10.194.45.199 with HTTP; Sat, 22 Nov 2014 07:51:30 -0800 (PST) Date: Sat, 22 Nov 2014 17:51:30 +0200 Message-ID: Subject: How much memory do I need for buildworld? From: Rostislav Krasny To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 15:51:33 -0000 Hi, I've a fresh FreeBSD 10.1 installed on an old 32-bit machine. I've checked out revision 274850 of the base sources and ran 'make buildworld'. After some time it has failed: ===> lib/clang/libllvmx86disassembler (depend) tblgen -gen-disassembler -I /usr/src/lib/clang/libllvmx86disassembler/../../../contrib/llvm/include -I /usr/src/lib/clang/libllvmx86disassembler/../../../contrib/llvm/lib/Target/X86 -d X86GenDisassemblerTables.inc.d -o X86GenDisassemblerTables.inc.h /usr/src/lib/clang/libllvmx86disassembler/../../../contrib/llvm/lib/Target/X86/X86.td *** Signal 9 Stop. make[4]: stopped in /usr/src/lib/clang/libllvmx86disassembler *** Error code 1 According to /var/log/messages it was killed because of out of memory: Nov 22 16:55:13 mercury kernel: swap_pager: out of swap space Nov 22 16:55:13 mercury kernel: swap_pager_getswapspace(16): failed Nov 22 16:55:13 mercury kernel: pid 22841 (tblgen), uid 0, was killed: out of swap space This machine has 256MB of RAM and one 64MB swap partition. Previously I used FreeBSD 7.4-CURRENT on this machine with two swap partitions of 64MB each and never had such a problem. I use it as a router, i.e. there is no X and no other memory greedy processes. Could it be related to an llvm bug fixed by following commit? http://svnweb.freebsd.org/base?view=revision&revision=274696