all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 68242@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#68242] [PATCH core-updates v2 1/5] utils: Lower xz compression memory usage limit to 20%.
Date: Fri,  5 Jan 2024 14:52:50 -0500	[thread overview]
Message-ID: <2d37c22fc834b1062c456c8b23974d9be5a2ff56.1704484373.git.maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <cover.1704484373.git.maxim.cournoyer@gmail.com>

There were sometimes out of memory errors on the Berlin build farm, especially
for i686 or arm machines having less memory.

* guix/build/utils.scm (%xz-parallel-args): Reduce --memlimit value from 50%
to 20%.

Change-Id: If848bed92ef4c42d11a96057e59ee51a019d0573
---

(no changes since v1)

 guix/build/utils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/utils.scm b/guix/build/utils.scm
index 8e630ad586..e87066cc02 100644
--- a/guix/build/utils.scm
+++ b/guix/build/utils.scm
@@ -186,7 +186,7 @@ (define (tarball? file-name)
 (define (%xz-parallel-args)
   "The xz arguments required to enable bit-reproducible, multi-threaded
 compression."
-  (list "--memlimit=50%"
+  (list "--memlimit=20%"
         (format #f "--threads=~a" (max 2 (parallel-job-count)))))
 
 \f
-- 
2.41.0





  reply	other threads:[~2024-01-05 19:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 15:16 [bug#68242] [PATCH 0/5] Compress man pages using zstd Maxim Cournoyer
2024-01-05 19:52 ` [bug#68242] [PATCH core-updates v2 " Maxim Cournoyer
2024-01-05 19:52   ` Maxim Cournoyer [this message]
2024-01-08 17:26     ` [bug#68242] [core-updates] " Ludovic Courtès
2024-01-05 19:52   ` [bug#68242] [PATCH core-updates v2 2/5] compression: Enable zstd parallel compression Maxim Cournoyer
2024-01-08 17:26     ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-05 19:52   ` [bug#68242] [PATCH core-updates v2 3/5] packages: Repack patched source archives via zstd by default Maxim Cournoyer
2024-01-08 17:25     ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-05 19:52   ` [bug#68242] [PATCH core-updates v2 4/5] build: gnu-build-system: Compress man pages with zstd Maxim Cournoyer
2024-01-08 17:29     ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-09  1:17       ` Maxim Cournoyer
2024-01-05 19:52   ` [bug#68242] [PATCH core-updates v2 5/5] man-db: Add support for zstd compressed man pages Maxim Cournoyer
2024-01-08 17:30     ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-09  3:31       ` bug#68242: " Maxim Cournoyer

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=2d37c22fc834b1062c456c8b23974d9be5a2ff56.1704484373.git.maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=68242@debbugs.gnu.org \
    /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.