title: Configure initial heap size for java 8 VM
body: <p>I try to set initial application memory heap size to 2gb for java 8 VM. I add <code>-Xms2g -Xmx2g</code> in <code>Program Arguments</code> section of IntelliJ.</p>
  <p><a href="https://i.stack.imgur.com/0Ngpr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Ngpr.png" alt="enter image description here" /></a></p>
  <p>Then I start my application and see that the heap size is less than 1gb.
  <a href="https://i.stack.imgur.com/Lwk0e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lwk0e.png" alt="enter image description here" /></a></p>
  <p>What do I miss?</p>