I have configured a beefy i7 machine to run multiple HAXM accelerated AVDs. However, I run into this seemingly arbitrary hard limit of 8 simultaneous devices, where in which starting my 9th emulator results in:
Starting emulator for AV 'device8'
Starting AVD without boot animation.
Hax is enabled
WARNING: init: Missing WGL extension WGL_ARB_make_current_read
Hax ram_size 0x40000000
Failed to create VM. Error code: 31
Failed to create vm ffffffff
Failed to create HAX VM
No accelerator found
failed to initialize HAX:Invalid argument
No matter what I do in the AVD configuration, I can only run 8 emulators at a time. I've tried emulators with 1gb, 2gb, 3gb of memory. I've done both 32bit and 64bit intel images. I installed HAXM with 28gb allocated.
So in short: I can successfully run 8 HAXM AVD emulators. I cannot run a ninth one, even though I have plenty of ram left. I gave HAXM installation 28gb.
OS Name Microsoft Windows 7 Enterprise
Version 6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name DUCHT1-DS1
System Manufacturer Dell Inc.
System Model OptiPlex 7040
System Type x64-based PC
Processor Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date Dell Inc. 1.2.8, 1/26/2016
SMBIOS Version 2.8
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume2
Locale United States
Hardware Abstraction Layer Version = "6.1.7601.17514"
User Name Not Available
Time Zone Central Daylight Time
Installed Physical Memory (RAM) 32.0 GB
Total Physical Memory 31.9 GB
Available Physical Memory 29.5 GB
Total Virtual Memory 63.8 GB
Available Virtual Memory 61.2 GB
Page File Space 31.9 GB
Page File C:\pagefile.sys