Silverlight内存分析器 [英] Memory profiler for silverlight

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

问题描述

您对Silverlight的内存探查器有任何建议/想法吗?

Do you have any suggestion/idea of Memory profiler for Silverlight?

推荐答案

您可以在Visual Studio 2010中使用标准的内存分析工具(内存GC和生存期),但只能使用Ultimate和Premium版本.该支持仅用于命令行分析,因此基础知识如下:

You can use the standard memory profiling tools (memory GC and lifetime) in Visual Studio 2010 - but only the Ultimate and Premium versions. The support is only for command line profiling, so the basics go:

  1. 打开Visual Studio命令提示符
  2. VSPerfClrEnv/globalsamplegclife
  3. VSPerfCmd -start:sample -output:somefile.vsp
  4. VSPerfCmd-启动:"c:\ Program Files(x86)\ Internet Explorer \ iexplore.exe" -args:"
  5. VSPerfCmd -globalon
  6. VSPerfCmd -shutdown
  7. VSPerfClrEnv/off

生成的VSP将包括内存统计信息.

The generated VSP will include memory statistics.

您可以在以下位置找到更多详细信息: http://www.nachmore.com/2010/profiling-silverlight-4-with-visual-studio-2010/

You can find more detailed information at: http://www.nachmore.com/2010/profiling-silverlight-4-with-visual-studio-2010/

这篇关于Silverlight内存分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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