mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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
This commit is contained in:
committed by
Ludovic Courtès
parent
c48f446444
commit
e91478e911
@@ -186,7 +186,7 @@ decompress FILE-NAME, based on its file extension, else false."
|
|||||||
(define (%xz-parallel-args)
|
(define (%xz-parallel-args)
|
||||||
"The xz arguments required to enable bit-reproducible, multi-threaded
|
"The xz arguments required to enable bit-reproducible, multi-threaded
|
||||||
compression."
|
compression."
|
||||||
(list "--memlimit=50%"
|
(list "--memlimit=20%"
|
||||||
(format #f "--threads=~a" (max 2 (parallel-job-count)))))
|
(format #f "--threads=~a" (max 2 (parallel-job-count)))))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user