title: Android studio won't start after updating vm options
body: <p>I recently installed android studio on a Mactop pro running OSX 10.11. with the standard Apple JRE/JDK.</p>
  
  <p>I had some problems with the slowness of the IDE and the fact that the emulator was hanging. After doing some research I was advised to set VM options as follows -Xmx2048m -XX:MaxPermSize=512 I did this using using Android -> Preferences -> Build, Execution, Deployment -> Compiler. This seemed to work ok until I restarted android studio.</p>
  
  <p>Now, every attempt to start android studio now results in this error (from the console log). </p>
  
  <blockquote>
    <p>28/01/2017 14:04:43.617 studio[1003]: allVms required 1.8*,1.8+
    28/01/2017 14:04:43.628 studio[1003]: fullFileName is: /Applications/Android Studio.app/Contents/bin/studio.vmoptions
    28/01/2017 14:04:43.629 studio[1003]: fullFileName exists:
    /Applications/Android Studio.app/Contents/bin/studio.vmoptions
    28/01/2017 14:04:43.629 studio[1003]: Value of STUDIO_VM_OPTIONS is
    (null) 28/01/2017 14:04:43.629 studio[1003]: Processing VMOptions file
    at /Applications/Android Studio.app/Contents/bin/studio.vmoptions
    28/01/2017 14:04:43.629 studio[1003]: Done 28/01/2017 14:04:43.629
    studio[1003]: Processing VMOptions file at
    /Users/lesormonde/Library/Preferences/AndroidStudio2.2/studio.vmoptions
    28/01/2017 14:04:43.629 studio[1003]: Done 28/01/2017 14:04:43.629
    studio[1003]: Processing VMOptions file at  28/01/2017 14:04:43.631
    studio[1003]: No content found 28/01/2017 14:04:43.637 studio[1003]:
    JNI_CreateJavaVM (/Applications/Android Studio.app/Contents/jre/jdk)
    failed: 4294967290</p>
  </blockquote>
  
  <p>The contents of the file 
  /Applications/Android Studio.app/Contents/bin/studio.vmoptions are </p>
  
  <pre><code>-Xms256m
  -Xmx1280m
  -XX:MaxPermSize=350m
  -XX:ReservedCodeCacheSize=240m
  -XX:+UseCompressedOopslesormondesMBP2:bin
  </code></pre>
  
  <p>A reinstall of android studio has had no effect. 
  I thought to remove any relevant options files, but there are none at ~/Library/Preferences/androidstudio2.2/ which is where the documentation tells you to look and various disk searches haven't produced anything helpful</p>
  
  <p>I am currently dead in the water. 
  Any help would be much appreciated. </p>