GNU bug report logs - #38167
guix pull takes over 8 GiB of memory to finish if there are no substitutes

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Mon, 11 Nov 2019 07:08:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 38167 <at> debbugs.gnu.org, dannym <at> scratchpost.org
Subject: bug#38167: guix pull takes over 8 GiB of memory to finish if there are no substitutes
Date: Mon, 11 Nov 2019 21:42:24 +0100
Hi Chris & Danny,

Christopher Baines <mail <at> cbaines.net> skribis:

> Danny Milosavljevic <dannym <at> scratchpost.org> writes:
>
>> Hi,
>>
>> guix pull takes over 8 GiB of memory to finish if there are no substitutes.
>>
>> My laptop only takes max 8 GiB of RAM.  I've set up swap, but that kind of
>> memory usage still seems ridiculous.
>
> Do you know if the derivations got built in parallel? So, does guix pull
> --max-jobs=1 use the same amount of memory?

Also, it would be great if you could identify which derivation build
requires that much memory, if this was happening sequentially.  (I
suspect “guix-packages.drv” is the one that eats up the most memory.)

I agree it’s ridiculous.  That memory usage comes from Guile’s
compiler.  A couple of years ago, Andy managed to cut memory usage
somewhat, but that’s not enough.

Thanks,
Ludo’.




This bug report was last modified 4 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.