From: "Ludovic Courtès" <ludo@gnu.org>
To: Sarah Morgensen <iskarian@mgsn.dev>
Cc: Ricardo Wurmus <rekado@elephly.net>, 49439-done@debbugs.gnu.org
Subject: bug#49439: grafts cause “guix environment” to get killed with OOM
Date: Tue, 10 Aug 2021 17:36:27 +0200 [thread overview]
Message-ID: <87v94dpb0k.fsf@gnu.org> (raw)
In-Reply-To: <87czqmtims.fsf@inria.fr> ("Ludovic Courtès"'s message of "Mon, 09 Aug 2021 23:26:03 +0200")
Hello!
Ludovic Courtès <ludo@gnu.org> skribis:
> I added counters and ‘pk’ calls in ‘map/accumulate-builds’ & co. to see
> what happens. AFAICS, a cutoff as in the attached patch does the job.
> It’s a basic heuristic to avoid unbounded growth, at the expense of
> possibly reduced accumulation. For example, here’s the effect on my
> user profile with 300+ packages:
Pushed as fa81971cbae85b39183ccf8f51e8d96ac88fb4ac.
I saw your message on IRC, Sarah; note that because grafts are “dynamic
dependencies” (they depend on previous build results), we cannot know in
advance which grafts we’re going to build, so there’s necessarily at
least a second phase during which grafts get built. See
<https://guix.gnu.org/en/blog/2020/grafts-continued/> for background.
Thanks!
Ludo’.
prev parent reply other threads:[~2021-08-10 15:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-06 14:38 bug#49439: grafts cause “guix environment” to get killed with OOM Ricardo Wurmus
2021-07-23 4:59 ` Sarah Morgensen
2021-07-27 14:52 ` Julien Lepiller
2021-07-27 16:28 ` Ludovic Courtès
2021-07-27 23:35 ` Sarah Morgensen
2021-07-28 10:00 ` Ludovic Courtès
2021-07-28 22:03 ` Ludovic Courtès
2021-07-29 3:20 ` Sarah Morgensen
2021-08-09 21:26 ` Ludovic Courtès
2021-08-10 15:36 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v94dpb0k.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=49439-done@debbugs.gnu.org \
--cc=iskarian@mgsn.dev \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.