What is the best way to measure the memory usage of a C# function ?

Posted by Duaa on Stack Overflow See other posts from Stack Overflow or by Duaa
Published on 2011-01-11T03:48:18Z Indexed on 2011/01/11 3:54 UTC
Read the original article Hit count: 145

Filed under:

Hi all:

I'm looking for an accurate way to measure memory usage of a C# program under Windows operating system. I'm using Visual Studio for programming my code and I want to know its time consuming for performance. Really, I tried to use the Task Manager, but I do not get an accurate measurment.

Please, if any one know an accurate way to measure the memory consumption, please help me and thanks alot

© Stack Overflow or respective owner

Related posts about c#