RE: Problem compiling rust: observations on swap

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Sun, 14 Oct 2018 15:34:32 -0600
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 this 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
<Cy.Schubert_at_cschubert.com> or <cy_at_freebsd.org>
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_at_freebsd.org
Subject: Problem compiling rust: observations on swap

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.)
_______________________________________________
freebsd-current_at_freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Received on Sun Oct 14 2018 - 19:34:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC