title: visualvm monitors memory usage
body: <p>in my tomcat startup, i set -xms , -xmx to 1GB.    inside visualvm when i monitor memory</p>
  
  <ol>
  <li><p>when i do sampling of memory, it doesnt show accurate memory usage, until, if i press 'snapshot', and then the java classes that utilizing memory showing correct patterns and instances count. why like this?</p></li>
  <li><p>also, as i set tomcat memory to 1gb, memory keep on increasing ing zip-zat and go up aroudn 960mb. until i press "perform gc" and the memory back to 200mb..   </p></li>
  <li><p>do you think needed to create scheduler to force  hit perform.gc() on jvm ,everday at midnight?</p></li>
  </ol>
  
  <p>any comments from my description</p>
  
  <p><img src="https://i.stack.imgur.com/iHMbe.gif" alt="VisualVM screenshot"></p>