title: How to get the amount of memory used by an application
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/750574/how-to-get-memory-available-or-used-in-c-sharp">How to get memory available or used in C#</a>  </p>
  </blockquote>
  
  
  
  <p>I want to visualize the memory which is used by my application in the statusbar of my application. I am searching for a memoryleak - but I don't know where. Now, my idea is to visualize the used memory in the statusbar so that I can see it while I am working with the application and find the part, where the problem occurs and then I can profiling this.</p>
  
  <p>Can someone give me some help, how can I get the used memory.</p>