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:
committed by
Marge Bot
parent
769a4aa34e
commit
cf6f97a224
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user