raise android emulator ram, cores, and heap in avd config
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -242,8 +242,10 @@ jobs:
|
|||||||
--package "$system_image" \
|
--package "$system_image" \
|
||||||
--device pixel_6
|
--device pixel_6
|
||||||
|
|
||||||
# Reduce resolution to lighten SwiftShader rendering workload
|
# Reduce resolution to lighten the SwiftShader software-rendering
|
||||||
printf 'hw.lcd.width=720\nhw.lcd.height=1600\nhw.lcd.density=280\n' \
|
# workload, and raise RAM/cores/heap so the debug RN app has headroom.
|
||||||
|
# The default 2560MB RAM led to silent qemu crashes mid-flow.
|
||||||
|
printf 'hw.lcd.width=720\nhw.lcd.height=1600\nhw.lcd.density=280\nhw.ramSize=6144\nhw.cpu.ncore=4\nvm.heapSize=512\n' \
|
||||||
>> "$ANDROID_AVD_HOME/nightly-e2e.avd/config.ini"
|
>> "$ANDROID_AVD_HOME/nightly-e2e.avd/config.ini"
|
||||||
|
|
||||||
if [ -e /dev/kvm ] && [ ! -w /dev/kvm ]; then
|
if [ -e /dev/kvm ] && [ ! -w /dev/kvm ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user