title: initial Java heap size means?
body: <p>So i got a program who use Java heap </p>
  
  <pre><code>-Xms5g -Xmx12g 
  </code></pre>
  
  <p>I have set the initial Java heap size to 5gb and MAX heap size to 12gb</p>
  
  <p>But when i look in task manager or resource monitor, My program is only using 400mb.</p>
  
  <p>So here are my questions: </p>
  
  <ol>
  <li>What does initial Java heap size means?</li>
  <li>How come if i set initial Java heap size to 5gb, i only see the RAM use on the program to 400mb, should it not be 5gb? As initial heap means minimum size right?</li>
  </ol>