title: How to identify default Java heapsize in Windows
body: <p>Im running an eclipse application in my machine. I have two queries</p>
  
  <ol>
  <li>I would like to know how to check the default heap size that the jvm is using to run the application.I'm using a windows machine to run the java application. I tried to check the default heap size by the following way</li>
  </ol>
  
  <blockquote>
    <p>ControlPanel--->Programs--->JavaSetting--> JavaTab -->View Button
    ---> JavaRuntimeEnvironment settings window ---> Userstab --> Value under RuntimeParameters</p>
  </blockquote>
  
  <p>But in my system, there is no runtime parameters defined. Is there a command that I can execute via command prompt to check the default heap size in my machine. </p>
  
  <ol start="2">
  <li><p>How to increase the heap size parameter and run the eclipse plugin application from  command prompt. 
  For eg:  To increase the heap size and execute the jar file we use the below command 
  <code>java -Xms64m -jar MyApp.jar</code>. I would like to know how to set heap parameters and execute my java application which is an <code>exe</code> file.  I tried to execute use the below command, but the command prompt doesn't recognize the command</p>
  
  <p>java -Xms512m iepsd.exe</p></li>
  </ol>
  
  <p>Where <code>iepsd.exe</code> is my java application. </p>