Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 18:08:46 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Problem compiling rust: observations on swap
Message-ID:  <3ff70381-ac66-c0bd-a327-a809f1bc3beb@gmail.com>
In-Reply-To: <6ef5bed2-b975-3c3a-89c5-929cd8046223@bluestop.org>
References:  <1912901660.157423.1538828775273.ref@mail.yahoo.com> <1912901660.157423.1538828775273@mail.yahoo.com> <1538829619.11691.1@smtp.migadu.com> <6ef5bed2-b975-3c3a-89c5-929cd8046223@bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/10/2018 23:41, Rebecca Cran wrote:

> On 10/6/18 6:40 AM, Greg V wrote:
>
>> BTW, this error message doesn't say much, but if cargo fails, you
>> might be out of memory.
>
> I was going to suggest being out of memory too. I've seen the rust build
> cause my system to run out of all 32GB RAM and 2GB swap.

Yeah, by coincidence I mentioned this yesterday in IRC:

<https://imgsafe.org/image/1966398b68>;

– whilst poudriere built both llvm and rust. Around 6 of 8 GB swap used on a system with 16 GB real memory.

(I allowed a larger than usual partition for swap when I first installed the system.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ff70381-ac66-c0bd-a327-a809f1bc3beb>