how to check memory continuously when the application is running in c#
<p>I have <strong>windows application</strong> in that I am opening a form2 from form1. At the same time, i want to check the <strong>memory used by the application all the time, continuously</strong> ... 
can any one help how to monitor applications memory programatically...</p>

<p>also, my application is consists of private DLL and private grids which leads to use more memory... I tried several methods like Dispose() and garbage collector and disposing the classes used for private grid.</p>

<p>Thannks</p>