From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABCCA1382C5 for ; Mon, 22 Jun 2020 01:14:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD033E088C; Mon, 22 Jun 2020 01:13:57 +0000 (UTC) Received: from pmta21.teksavvy.com (pmta21.teksavvy.com [76.10.157.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46736E087A for ; Mon, 22 Jun 2020 01:13:57 +0000 (UTC) IronPort-SDR: wv1I5B89bY7f5GYOVq4FKiRN+W6Tvlcuhjnu6fta1pzpjf43WyfH2tnNcAE2peC5kBFHUwO56p uCD2BfUbeguQ== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2G3DACVBPBe/1J4oWxmgQkHgUWDF1R?= =?us-ascii?q?fiFWEUIV5ng4LAQEBIRIHAQIEAQGEQQQCAoIqJTgTAgMBAQsBAQEFAQEBAQE?= =?us-ascii?q?GBAIChkQMQgEMAYV4BjocMws0ElcZgyeCfA+2UIE0hVGFEwaBOAGMfD+BAj+?= =?us-ascii?q?EIT6CD4IGdYJ6gi0EjwEkpS4KglqBDIc2kFgCLZESjWmbQJRPgXaBeX0IgyQ?= =?us-ascii?q?SPhkNVo1UF4hihV4oMAI1AgYIAQEDCVcBg0mKUIJFAQE?= X-IPAS-Result: =?us-ascii?q?A2G3DACVBPBe/1J4oWxmgQkHgUWDF1RfiFWEUIV5ng4LA?= =?us-ascii?q?QEBIRIHAQIEAQGEQQQCAoIqJTgTAgMBAQsBAQEFAQEBAQEGBAIChkQMQgEMA?= =?us-ascii?q?YV4BjocMws0ElcZgyeCfA+2UIE0hVGFEwaBOAGMfD+BAj+EIT6CD4IGdYJ6g?= =?us-ascii?q?i0EjwEkpS4KglqBDIc2kFgCLZESjWmbQJRPgXaBeX0IgyQSPhkNVo1UF4hih?= =?us-ascii?q?V4oMAI1AgYIAQEDCVcBg0mKUIJFAQE?= X-IronPort-AV: E=Sophos;i="5.75,265,1589256000"; d="scan'208";a="135951436" Received: from 108-161-120-82.dsl.teksavvy.com (HELO waltdnes.org) ([108.161.120.82]) by smtp12.teksavvy.com with SMTP; 21 Jun 2020 21:13:45 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Sun, 21 Jun 2020 21:13:15 -0400 From: "Walter Dnes" Date: Sun, 21 Jun 2020 21:13:15 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Limit Memory Used By Portage/Firefox Build Causes OOM Message-ID: <20200622011315.GA2450@waltdnes.org> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Archives-Salt: e32a125c-7e77-4b20-bae3-4de4957e4fd7 X-Archives-Hash: 09769909fbb287c52212fcdfb2d77bdf On Sun, Jun 21, 2020 at 06:02:22PM -0500, Sid Spry wrote > > My immediate issue is cargo seems to ignore MAKEOPTS. Cargo > also seems to select build parallelism itself. You can also set the load average in MAKEOPTS ("-l" parameter; letter "ell") to indirectly force fewer jobs. Try... MAKEOPTS="-j1 -l1.5" See also https://wiki.gentoo.org/wiki//etc/portage/package.env and https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package for pointers on how to create package-specific make.conf files (or other stuff) for individual packages. -- Walter Dnes I don't run "desktop environments"; I run useful applications