You need to find the configuration file for the created AVD.
In my case, I run AVD on Ubuntu, so here I found the configuration file.
~/.android/avd/emulator.avd/config.ini
"emulator" is the name that I provided when creating the AVD, so the directory name will depend on what you provided.
The following is in the config.ini file:
hw.lcd.density=240 skin.name=WVGA800 skin.path=platforms/android-8/skins/WVGA800 hw.cpu.arch=arm abi.type=armeabi vm.heapSize=64 hw.ramSize=1024 image.sysdir.1=platforms/android-8/images/
I increased the heap size from 24 to 64 and added a ram size parameter.
For a list of options you can add, see Manage AVD from the command line.
Shane oliver
source share