How can I profile the amount of memory a method call uses?
Is there a way to check how much memory a method call consumes in开发者_如何学Go .NET? I know there are methods in .NET but these get the total memory used by the application and not during the life of a method call (which is what I need).
I am aware that a profiler may help with this but I do not have access to a profiler (this is at work).
Thanks
Afraid a profiler is really the only way to go, say dotTrace or ANTS profiler, both of which have trial periods.
Is there any reason why you can't use a profiler at work?
精彩评论