From nobody Wed Oct 25 06:47:39 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SFfct2cV0z4y6jS for ; Wed, 25 Oct 2023 06:47:42 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4SFfct1r7bz4XZH for ; Wed, 25 Oct 2023 06:47:42 +0000 (UTC) (envelope-from xavier@groumpf.org) Authentication-Results: mx1.freebsd.org; none Received: from numenor.groumpf.org (unknown [82.64.247.11]) by aragorn.amdh.fr (Postfix) with ESMTP id D373C20000410; Wed, 25 Oct 2023 08:47:41 +0200 (CEST) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id C6B851C881E; Wed, 25 Oct 2023 08:47:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groumpf.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:content-language:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=dkim; t=1698216459; x=1699080460; bh=IA1PNDI7WPCB1P7YWWOzSfbJ GEmSK+ZMUkGgI8F2j9E=; b=DRvATYzV2o4e58yu4aRzdOz948CWj+ZrtLhuQpO1 UOC8s7G6rPK0uC49zYhrLZeJ6yFDSItN8ufknrfpcTiOdRzGDXqHLiFKZEeSKuh5 sI5LOuDsgM4/HOxX+0POXZMp/JIyrvE7GKXCYKJK829Py2i4033FMLv1NKBkmqaO IZC5peauqGXOKnts80h/woSGRZc5Ed70XCM07A/lDjADjAcXLIAX1RKxv/3wU48x S37cSG+/MGooGhQPcfRzv3eUMtcG0b8y/gXWslIr0ck9PElwHSOS/DUZ4mqAb4H2 Yw3XppotjIVtJGSYySKVLXZgbNK0/3z1qYirbCRQLbXGXlCxu4Z3Zrh7bqWN3eHZ PYRd9G8UgfbherYB9+h0wjTfvOg8wYBki52DATC8GsFJYz1cpxyZmUkamdm9jJZu cxYynJadxB4gRL2Er4mVdX162GGkMi6ZCYdzVq+Eca6lGAgj50v6KrHYb27dJ7pq H3L3dQq9fvkPWFMVIvTxKODXhSti9x3cR1w8178XQ6MKfpkiCEKwvCRqrDBSNqB2 49aV4RqbY1MBJn7vWhF4gK88lzJ2yaZr0OVvBFS5MbJ8C2Pz5/1fd9Hnfo0tJcqJ BegrKXPB0s5CxcbWr7EyXAzqFMfEDLto3p9OtmaCFXIImTLpyl1eyotTAp8SHxxI DgQ= Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JK-ujtNGd6o8; Wed, 25 Oct 2023 08:47:39 +0200 (CEST) Received: from [192.168.100.30] (imladris.groumpf.org [192.168.100.30]) by numenor.groumpf.org (Postfix) with ESMTPSA id B39CE1C86F1; Wed, 25 Oct 2023 08:47:39 +0200 (CEST) Message-ID: <5816a79c-9bd0-4c41-9520-eed853aa15a4@groumpf.org> Date: Wed, 25 Oct 2023 08:47:39 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Rust build huge memory consumption Content-Language: fr To: Cy Schubert Cc: FreeBSD Ports ML References: <09a4bfb8-ba61-4e05-b646-973104337f77@groumpf.org> <20231025064626.A5DA6168@slippy.cwsent.com> From: Xavier Humbert In-Reply-To: <20231025064626.A5DA6168@slippy.cwsent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR] X-Rspamd-Queue-Id: 4SFfct1r7bz4XZH Le 10/25/23 08:46, Cy Schubert a écrit : > In message <09a4bfb8-ba61-4e05-b646-973104337f77@groumpf.org>, Xavier > Humbert w > rites: >> Hi, >> >> When building rust, all memory is eaten, leading to OOM killing almost >> everything, eventually failing, and leading to an unstable system. >> >> Is there a way to tell the compiler to avoid this behaviour ? > How much RAM does your machine have? How many CPU cores/threads does it > have? > I have 16 GB RAM, and 4 cores Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr