title: Android Studio emulator cannot set up guest memory 'pc.ram': Invalid argument
body: <p>I’m unable to launch an emulator in android studio due to the following error:</p>
  
  <p>emulator: WARNING: Increasing RAM size to 1GB
  emulator: device fd:620
  HAXM is working and emulator runs in fast virt mode
  Cannot set up guest memory 'pc.ram': Invalid argument</p>
  
  <p>When installing HAXM I set the memory to 1024MB and the emulator (using Nexus 5) has been configured to only use 256MB of RAM :</p>
  
  <p><a href="https://i.stack.imgur.com/O3msz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/O3msz.png" alt=""></a></p>
  
  <p>I’ve tried increasing/decreasing the RAM setting but it appears to have no affect with the same error message appearing each time.</p>
  
  <p>I don’t understanding why this is happening and have tried installing different versions of Android Studio. I’m currently running 1.3.2 which is the version my colleague is successfully using on the same spec PC (4GB ram, Windows 7 32 bit).</p>
  
  <p>The error indicates that the emulator is trying to increase its RAM size to 1GB dispite it being set to 256MB.</p>