From owner-freebsd-current@freebsd.org Sun Oct 14 21:34:33 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 548E310C26DE for ; Sun, 14 Oct 2018 21:34:33 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C52D3764C0 for ; Sun, 14 Oct 2018 21:34:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id Bo1mgoV99WppDBo1ogJnYa; Sun, 14 Oct 2018 15:34:25 -0600 X-Authority-Analysis: v=2.3 cv=YIcrNiOx c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=smKx5t2vBNcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=Z22tFkVtAAAA:8 a=oSJ049TXeY0p9cX2rrgA:9 a=qNrDBhBsBOVTSrEa:21 a=xONDxGZHPiERGr3z:21 a=QEXdDO2ut3YA:10 a=Iq4JX5-UNP7SJURMY0oA:9 a=wAHsRxzztpDLhc_x:21 a=gWbi5Gn0VylSZcT5:21 a=MRXNbFdLNlQACFxs:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=86aOr0YwVhrQAlz8gSk8:22 Received: from [25.82.157.51] (unknown [24.244.29.170]) by spqr.komquats.com (Postfix) with ESMTPSA id 3188BC1B; Sun, 14 Oct 2018 14:34:22 -0700 (PDT) MIME-Version: 1.0 From: Cy Schubert Subject: RE: Problem compiling rust: observations on swap Date: Sun, 14 Oct 2018 15:34:32 -0600 To: Graham Perrin , "freebsd-current@freebsd.org" Message-Id: <20181014213422.3188BC1B@spqr.komquats.com> X-CMAE-Envelope: MS4wfCHozKw9+EijwxXCF6c/ZYslQvUzSj1iRHn88aXTPxp+CxarTwgGG+jkM9iF5+20VnmesP72rxaNRxAMRDtjhlJPctHip+xCsB71kBxEkku+RNRgkYc/ oYMONkj3Kl0iZxkzqy22IT2VgXNW6KyTnBFPCOBZVOIow1gv5CFMgH9cfWZ0sAahZMhjGZNMgpdXU+bNcbfw0TZ+OiGbvfnYuFeqC0cHpWedGCNh+RrO5Jn+ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Sun, 14 Oct 2018 21:34:33 -0000 Set TAR in make.conf to gnu tar from ports. Some tarballs will cause bsdtar= to exhaust memory and swap. There was discussion a while ago suggesting th= is is a bug in vmm. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -----Original Message----- From: Graham Perrin Sent: 14/10/2018 15:19 To: freebsd-current@freebsd.org Subject: Problem compiling rust: observations on swap On 06/10/2018 23:41, Rebecca Cran wrote:=0A= =0A= > On 10/6/18 6:40 AM, Greg V wrote:=0A= >=0A= >> BTW, this error message doesn't say much, but if cargo fails, you=0A= >> might be out of memory.=0A= >=0A= > I was going to suggest being out of memory too. I've seen the rust build= =0A= > cause my system to run out of all 32GB RAM and 2GB swap.=0A= =0A= Yeah, by coincidence I mentioned this yesterday in IRC:=0A= =0A= =0A= =0A= =E2=80=93 whilst poudriere built both llvm and rust. Around 6 of 8 GB swap = used on a system with 16 GB real memory.=0A= =0A= (I allowed a larger than usual partition for swap when I first installed th= e system.)=0A= _______________________________________________=0A= freebsd-current@freebsd.org mailing list=0A= https://lists.freebsd.org/mailman/listinfo/freebsd-current=0A= To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"= =0A=