budtmo / docker-android

Android in docker solution with noVNC supported and video recording
Other
8.81k stars 1.19k forks source link

[🐛 Bug ]: memory increase failed #392

Open sh4deimi opened 8 months ago

sh4deimi commented 8 months ago

Operating System

Ubuntu 20.05

Docker Image

budtmo/docker-android:emulator_13.0

Expected behaviour

I've created a container using the following command:

android@android13:~$ docker run -d -p 5900:5900 -p 4723:4723 -e WEB_VNC=false -e VNC_PASSWORD=xxxxxxxxx -e EMULATOR_DEVICE="Samsung Galaxy S10" -e EMULATOR_MEMORY=4096m -e EMULATOR_DATA_PARTITION=900m -e APPIUM=true --device /dev/kvm --name android-container budtmo/docker-android:emulator_13.0

and i was expecting a 4096m RAM for the emulator

Actual behaviour

the emulatory memory is still 2048m.

Logs

No response

huancun commented 4 months ago

我打包了一个docker镜像 huancun26/docker-android:emulator_11.0 只需要添加 -e ram=4096 就可以模拟内存仍然是4096m内存