开发者

.NET how to measure how many bytes allocated in a request?

I need to trace objects that are al开发者_如何转开发located in a request. Is there any tool or command that can help me know how many bytes are allocated and when?


I think Ants Memory Profiler can help you so much here, however it is not free, but they have a trial version "for 14 days or so", give it a shot.


You can use the CLRProfiler sample to see this. Depending on your platform, there is a version for .NET 2 and one for .NET 4. And it is free!

It does pretty graphs/maps to show you where memory was allocated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜