2010-08-25 73 views
3

您對Silverlight的Memory Profiler有任何建議/想法嗎?silverlight的內存分析器

+0

我發現了另一個用於內存分析的工具。 http://www.xteprofiler.com/ 希望這有助於那些也在尋找相同的人。 – sankar 2010-12-08 07:41:17

+0

複製代碼:http://stackoverflow.com/questions/156507/does-a-silverlight-memory-profiler-exist – 2011-09-26 16:04:23

回答

2

您可以在Visual Studio 2010中使用標準內存分析工具(內存GC和生命週期) - 但只能使用Ultimate和Premium版本。該支持僅限於命令行分析,這樣的基礎去:

  1. 打開Visual Studio的命令提示符下
  2. VSPerfClrEnv/globalsamplegclife
  3. VSPerfCmd -start:採樣 - 輸出:somefile.vsp
  4. VSPerfCmd - 啓動: 「C:\ Program Files文件(x86)的\的Internet Explorer \ IEXPLORE.EXE」 -args: 「」
  5. VSPerfCmd -globalon
  6. VSPerfCmd -shutdown
  7. VSPerfCl rEnv/off

生成的VSP將包含內存統計信息。

你可以找到更詳細的信息:http://www.nachmore.com/2010/profiling-silverlight-4-with-visual-studio-2010/

+0

嗨Oren,謝謝你的更新。我只使用專業版本並尋找更好的UI分析器,如ANTS。 – sankar 2010-08-25 17:34:18