Re: Rust build huge memory consumption

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Wed, 25 Oct 2023 07:01:29 UTC
In message <5816a79c-9bd0-4c41-9520-eed853aa15a4@groumpf.org>, Xavier 
Humbert w
rites:
> 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

That should be plenty. I build it on a 4 core 8 GB machine.

How much swap does it have?

Could this machine by chance be running a browser or other large apps at 
the same time?


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0