aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-02 10:42:02 -0500
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:21 +0200
commite91478e9119ffb01f785d9b423158130aa1152e0 (patch)
treef1e8a1ad637d9cb3dda26662859e6bb72a63b4c0
parentc48f44644425692418d6e551dc7ff67686552386 (diff)
downloadguix-e91478e9119ffb01f785d9b423158130aa1152e0.tar.gz
guix-e91478e9119ffb01f785d9b423158130aa1152e0.zip
utils: Lower xz compression memory usage limit to 20%.
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%. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Change-Id: If848bed92ef4c42d11a96057e59ee51a019d0573
-rw-r--r--guix/build/utils.scm2
1 files changed, 1 insertions, 1 deletions
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 @@ decompress FILE-NAME, based on its file extension, else false."
(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)))))