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)))))
> 2024-04-17vm: Always use a native emulator in ‘guix system vm’....Ludovic Courtès 2024-04-08mapped-devices: luks: Specify modules needed at the top-level....Ludovic Courtès 2024-04-08mapped-devices: <mapped-device-type> can specify modules to import....Ludovic Courtès 2024-03-31vm: If not the same local architecture, don't enable kvm....Zheng Junjie 2024-03-31vm: add arguments to use virt machine type for qemu-riscv64....Zheng Junjie 2024-03-31linux-initrd: don't add hid-apple module for riscv64-linux....Zheng Junjie 2024-03-31vm: When target riscv64-linux, use u-boot-qemu-riscv64-bootloader....Zheng Junjie 2024-03-31vm: use #$ for kernel-arguments....Zheng Junjie 2024-03-09linux-initrd: Avoid looking up builtin modules....Hilton Chain 2024-02-28system: default-bash-profile: Add Guix Home search paths as well....Florian Pelz 2024-02-10services: Add ‘virtual-build-machine’ service....Ludovic Courtès 2024-02-10vm: Add ‘cpu-count’ field to <virtual-machine>....Ludovic Courtès 2024-02-10vm: Export <virtual-machine> accessors....Ludovic Courtès 2024-02-10vm: Add ‘date’ field to <virtual-machine>....Ludovic Courtès 2024-02-05linux-container: Inherit essential services....Leo Nikkilä 2024-01-17image: Consider grub-efi-removable-bootloader to be EFI bootloader....Tomas Volf 2024-01-17system: default-zprofile: Sync with home zprofile....Efraim Flashner 2024-01-17system: Add default guix-home-config....Efraim Flashner 2024-01-17system: Export default guile config....Efraim Flashner 2024-01-17system: Export default nanorc....Efraim Flashner 2024-01-17system: Export default gdbinit....Efraim Flashner 2024-01-17system: Export default xdefaults....Efraim Flashner 2024-01-17system: Export default zprofile....Efraim Flashner 2024-01-17system: Export default bash-profile....Efraim Flashner 2024-01-14mapped-devices: Allow unlocking by a key file....Tomas Volf 2024-01-08system: hurd: Use the Shepherd 0.10.x....Ludovic Courtès 2024-01-08scripts: system: Build layered images....Oleg Pykhalov 2023-12-30gnu: vm-image.tmpl: Improve SPICE dynamic resizing....Maxim Cournoyer 2023-12-22images: Add orangepi-r1-plus-lts image....Herman Rimm 2023-12-10file-systems: Add tracefs to %pseudo-file-system-types....Leo Nikkilä 2023-12-02gnu: Use ‘libc-utf8-locales-for-target’....Janneke Nieuwenhuizen 2023-10-29system: vm: Include the cirrus driver in the initrd....Tobias Geerinckx-Rice 2023-10-30gnu: file-systems: Add xenfs to %pseudo-file-system-types....Skyler Ferris 2023-10-06system: Modify bash skeleton to colorize 'ip' output....Bruno Victal