title: What is total allocated memory in visualvm sampler
body: <p>I have conected tomcat(8GB heap memory is allocated) to visualvm. In visualvm, Under the tab sampler -> memory , Total allocated memory is shown as 17GB(18470717672 bytes). But only 8GB is allocated for tomcat heap memory. In monitor tab its showing the allocated heap size as 8GB (8589934592 bytes) correctly. Please clarify why Total allocated memory is shown as 17GB in sampler tab?</p>
  
  <p><a href="https://i.stack.imgur.com/RwMXb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RwMXb.png" alt="Sampler tab in visualvm"></a>
  <a href="https://i.stack.imgur.com/DuzCh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DuzCh.png" alt="Monitor tab in visualvm"></a></p>