Tuesday, April 19, 2016

How to overcome 2gb ram limit on visual studio 2015 emulators?

https://guido1993.wordpress.com/2015/05/05/how-to-overcome-the-2-gb-ram-limit-on-android-visual-studio-2015-emulators/

“Visual Studio Emulator for Android: The emulator is unable to verify that the virtual machine is running: Not enough memory is available in the system to start an emulator that uses 2048 MB of startup RAM. Please close other applications and try to launch the emulator again. If closing other applications doesn’t help, please follow the instructions on this KB article: http://support.microsoft.com/kb/2911380/en-us”

C:\Users\[YourUserName]\AppData\Local\Microsoft\VisualStudioEmulator\Android\Containers\Local\Devices


In the config files, change 

device.vm.ram.size=2048 to
device.vm.ram.size=1024


FROM: device.vm.ram.size=2048
TO: device.vm.ram.size=1024