mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 00:08:09 +02:00
ci/android: reduce launch_cvd memory limit to 4GB by default
We only have 8GB on the Brya Chromebook used for venus testing, and the job is unstable because using all the available RAM causes OOM kills. So reduce launch_cvd memory limit to 4GB by default, still allowing to change the default by setting the CUTTLEFISH_MEMORY variable in jobs that might want a different value. This change has been inspired by CROSVM_MEMORY, but a new variable is used because technically cuttlefish can also use qemu in some setups, not only crosvm. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35126>
This commit is contained in:
parent
769a4aa34e
commit
cf6f97a224
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ HOME=/cuttlefish launch_cvd \
|
|||
-report_anonymous_usage_stats=no \
|
||||
-gpu_mode="$ANDROID_GPU_MODE" \
|
||||
-cpus=${FDO_CI_CONCURRENT:-4} \
|
||||
-memory_mb 8192 \
|
||||
-memory_mb ${CUTTLEFISH_MEMORY:-4096} \
|
||||
$CUSTOM_KERNEL_ARGS
|
||||
|
||||
sleep 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue