Rust compiler's insane memory consumption

Liste des GroupesRevenir à cu programmer 
Sujet : Rust compiler's insane memory consumption
De : kalevi (at) *nospam* kolttonen.fi (Kalevi Kolttonen)
Groupes : comp.unix.programmer
Date : 18. Jan 2025, 21:16:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vmh270$14202$1@dont-email.me>
User-Agent : tin/2.6.4-20241224 ("Helmsdale") (Linux/6.12.8-200.fc41.x86_64 (x86_64))
Hello!

Maybe this question would be more suitable
on comp.compilers, but I will give it a go
here.

A while back I tried to compile Thunderbird on
Fedora 41, having a laptop with 16GB of RAM.
Apart from one strange strike of luck, all of
my compilation attempts failed miserably.

The reason was that rustc, a Rust compiler,
hogged nearly 16GB of memory. Any compiler
experts around? How is it possible that
a Rust compiler can require that much memory?

I have a rough understanding of the phases
of how C compilers work, but I know practically
nothing of Rust. For the record, this is the
Rust compiler that I used:

~ $ rpm -qi rust
Name        : rust
Version     : 1.83.0
Release     : 1.fc41
Architecture: x86_64

br,
KK

Date Sujet#  Auteur
18 Jan 25 * Rust compiler's insane memory consumption2Kalevi Kolttonen
19 Jan 25 `- Re: Rust compiler's insane memory consumption1John McCue

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal