在Visual Studio 2013内存评测 [英] Memory profiling in Visual Studio 2013

查看:261
本文介绍了在Visual Studio 2013内存评测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想探讨如何内存是分配在我的应用程序。我有C#控制台应用程序,并使用Visual Studio 2013专业版。

I want to explore how memory is allocated in my application. I have C# console app and use Visual Studio 2013 Professional.

我去的分析 - > 性能比较与诊断并选择.NET内存分配

I go to Analyze -> Perfomance and Diagnostics and selected .NET memory allocation

因此​​,我得到以下总结:

As a result I get the following summary:

在每个时间图表的CPU使用率(%)。但是,我怎么能看到每个时间和GC事件分配内存?我不能在这里找到它。

In the chart CPU usage(%) per time. But how can I see allocate memory per time and GC events? I can not find it here.

推荐答案

我读过关于MS​​DN博客,这个检查工具不化的内存泄漏检测,所以没有这样的功能,计划在未来的版本。这适用于大型堆检查。

I've Read on msdn blog that this inspection tool is not oriented on Memory leak inspection, so there's not such features, that are planned for future versions. This is intended for large heap inspections.

<一个href="http://blogs.msdn.com/b/dotnet/archive/2013/04/04/net-memory-allocation-profiling-with-visual-studio-2012.aspx">http://blogs.msdn.com/b/dotnet/archive/2013/04/04/net-memory-allocation-profiling-with-visual-studio-2012.aspx

这是2012年左右,但似乎变薄不是照样发生变化。

it was about 2012 but seems that thins are not still changed.

这篇关于在Visual Studio 2013内存评测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆