title: Intellij idea.exe.vmptions heap space 1g causes errors
body: <p>when I update idea.exe.vmoptions to be as follows:</p>
  
  <p><code>
  -Xms1024m
  -Xmx1024m
  -XX:MaxPermSize=300m
  -ea
  </code></p>
  
  <p>I get an error:</p>
  
  <p>"The JVM could not be started. The main method may have thrown and exception".</p>
  
  <p>Yet when I start with idea.bat, which essentially parses the same file, it works fine.</p>
  
  <p>I'm not sure if the above error logs somewhere so I've not had much success in chasing this down, and I've not spent long on it as idea.bat worked around it. Just wondering if anyone knows why this is happening?</p>