diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-27 21:44:55 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-27 21:44:55 -0400 |
| commit | 74652a3e5d54664c0b03f414faceb4ed5e23f99d (patch) | |
| tree | 0acbfe5d2e0a526fab0d946345171be67f4b25df /scripts | |
| parent | 63955dc8088f11a8dda132c0a9428d223cb61399 (diff) | |
| download | archsetup-74652a3e5d54664c0b03f414faceb4ed5e23f99d.tar.gz archsetup-74652a3e5d54664c0b03f414faceb4ed5e23f99d.zip | |
fix(test): bump default VM RAM to 8 GiB to stop AUR-build OOM kills
The zfs green run OOM-killed cc1plus three times during AUR C++ builds:
makepkg runs -j$VM_CPUS (4), and parallel compiles at ~700 MB each overran
the 4 GiB default. The install still passed (yay retries), but the kills
showed up as attributed issues. 8 GiB gives the four jobs headroom.
Overridable via VM_RAM as before.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/testing/lib/vm-utils.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/testing/lib/vm-utils.sh b/scripts/testing/lib/vm-utils.sh index 118d1be..b85e773 100755 --- a/scripts/testing/lib/vm-utils.sh +++ b/scripts/testing/lib/vm-utils.sh @@ -11,7 +11,9 @@ # VM configuration defaults VM_CPUS="${VM_CPUS:-4}" -VM_RAM="${VM_RAM:-4096}" # MB +# 8 GiB headroom for AUR builds: makepkg runs -j$VM_CPUS, and parallel cc1plus +# (~700 MB each on heavy C++ packages) OOM-killed under the old 4 GiB default. +VM_RAM="${VM_RAM:-8192}" # MB VM_DISK_SIZE="${VM_DISK_SIZE:-50}" # GB # Filesystem profile: selects which base image + archangel config the harness |
