guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: utils: Lower xz compression memory usage limit to 20%.


From: guix-commits
Subject: 01/05: utils: Lower xz compression memory usage limit to 20%.
Date: Mon, 8 Jan 2024 21:55:20 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit aade589f1e9b926a759d9713b0d71ba59b6d75f7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jan 2 10:42:02 2024 -0500

    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
---
 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 @@ 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)))))
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]