title: Invalid initial heap size. Could not create the Java virtual machine
body: <p>I've faced the next problem:
  I'm trying to start Tomcat manually via startup.bat, but it seems not to show any results, then I've tried to run shutdown.bat and the console shows next:</p>
  
  <pre><code> D:\apache-tomcat-7.0.35\bin&gt;startup.bat
  Using CATALINA_BASE:   "D:\apache-tomcat-7.0.35"
  Using CATALINA_HOME:   "D:\apache-tomcat-7.0.35"
  Using CATALINA_TMPDIR: "D:\apache-tomcat-7.0.35\temp"
  Using JRE_HOME:        "C:\Program Files\Java\jdk1.6.0_31"
  Using CLASSPATH:       "D:\apache-tomcat-7.0.35\bin\bootstrap.jar;D:\apache-tomcat-7.0.35\bin\tomcat-juli.jar"
  D:\apache-tomcat-7.0.35\bin&gt;shutdown.bat
  Using CATALINA_BASE:   "D:\apache-tomcat-7.0.35"
  Using CATALINA_HOME:   "D:\apache-tomcat-7.0.35"
  Using CATALINA_TMPDIR: "D:\apache-tomcat-7.0.35\temp"
  Using JRE_HOME:        "C:\Program Files\Java\jdk1.6.0_31"
  Using CLASSPATH:       "D:\apache-tomcat-7.0.35\bin\bootstrap.jar;D:\apache-tomcat-7.0.35\bin\tomcat-juli.jar"
  Invalid initial heap size: -Xms256m -Xmx512m -XX:MaxPermSize=256m
  Could not create the Java virtual machine.
  </code></pre>
  
  <p>catalina.bat is original, also I've checked all pathes and opts(i.e. JAVA_HOME, JRE_HOME, CATALINA_BASE, CATALINA_HOME, CATALINA_TMPDIR).
  tomcat version is 7.0.35
  java v 1.6</p>