This allows a good balance of memory for the Intel HAXM driver as compared to the system memory. For example, if your system has 6GB of installed memory, then use 3GB for the Intel HAXM driver. When installing Intel HAXM, set the driver to use half of the available RAM in the system. To automatically run this command whenever a new terminal is started, you can add this command to your ∼/.bash_profile script.