title: Unable to start the JVM - Windows 7
body: <p>Our company IT recently went through an upgrade and I don't know what else they changed to the defaults but Excel 2013 32-bit (w/ MATLAB Compiler Runtime add in) crashes multiple times a day and it's driving me crazy. </p>
  
  <p>I looked through the solutions to other similar questions but still having no luck. The exact error that I'm receiving is attached in the picture below. I've tried editing the environment variable to various amounts and checked that the free physical memory is available (has 16G total and usually half is free) </p>
  
  <p>Running <code>java -version</code> in the command prompt returns:</p>
  
  <pre><code>java version "1.7.0_51"
  Java(TM) SE Runtime Environment (build 1.7.0_51-b31)
  Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
  </code></pre>
  
  <p>The Java Control Panel Runtime Environment Settings reference <strong>javaw.exe</strong> but I changed the environment variables on both the java.exe and javaw.exe (in both Program Files and Program Files (x86).</p>
  
  <blockquote>
    <p>Unable to start the JVM. 
    Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m
    Error occurred during initialization of VM 
    Could not reserve enough space for budget heap
    There is not enough memory to start up the Java virtual machine.
    Try quitting other applications or increasing your virtual memory</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/5Y5DF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5Y5DF.png" alt="JVM Error"></a></p>