Hi Ashok
On this link you will find the CLR profiler
http://www.microsoft.com/downloads/t...6052-d7f4-4aeb
-9b7a-94635beebdda&displaylang=en
it is program that do memory analyses to .net it virtually get all
memory allocations and de allocation , stakes , heap , and garbage
collections of a program's memory through all its life time. In other
words , it tells you every thing about memory concerning the program that
you attach to it .
that tool comes with source code so you can see exactly how it do it .
take you time with that code to see what functionality you want to
implement and see how it could be done.
Hope this helps
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC