Problem compiling rust: observations on swap

Graham Perrin grahamperrin at gmail.com
Sun Oct 14 17:08:52 UTC 2018


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.)


More information about the freebsd-current mailing list