CLR profiler does not seem to work with the Silverlight CLR. Does another memory profiler exist?
相关问题
- Generic Generics in Managed C++
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Bulk update SQL Server C#
- Should I use static function in c# where many call
Try this one, it is very useful:
http://www.red-gate.com/products/ants_memory_profiler/index.htm
Bruno.
VS2010/SL4 has a profiler now checkout:
http://www.nachmore.com/2010/profiling-silverlight-4-with-visual-studio-2010/
http://blogs.msdn.com/b/seema/archive/2010/01/28/pdc-vs2010-profiling-silverlight-4.aspx
I use free XTE Profiler which also works with Silverlight Standard and Out of Browser applications. Shows live memory usage as well.
Doesn't seem to be one available yet. However, as recommended in this forum thread, you can convert your Silverlight app to a WPF application and profile that:
Not an optimal solution, but it sounds like the best option for now...
Update: Just saw a blog post about XPerf which is a cpu sampler for Silverlight. Not exactly a memory profiler but a good tool for testing the performance of Silverlight apps...
Though not a full blown profiler with a yummy GUI, you could use Windbg + SOS to debug your silverlight app, it would require a lot of manual work, but you can then walk your managed heap.
Use Silverlight Spy
It has a Memory Profiler built in