title: How to view the current heap size that an application is using?
body: <p>I think I increased my heap size to 1 GB in NetBeans since I changed the config to look like this:</p>
  
  <pre><code>netbeans_default_options="-J-Xmx1g ......
  </code></pre>
  
  <p>After I restarted NetBeans, can I be sure that my app is given 1 GB now?</p>
  
  <p>Is there a way to verify this?</p>