title: How to get application memory usage as shown in Task Manager?
body: <p>I am trying to get the memory usage of my application but for some reason i am getting different size than in task manager</p>
  
  <p>I am using:</p>
  
  <p><img src="https://i.stack.imgur.com/VNoxb.png" alt="enter image description here"></p>
  
  <p>Task manager shows that my application occupies 45mb , while when i pulling it in my code i get 85mb
  how can i get the same size as in task manager (without using wmi)</p>