Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Memory profiler for silverlight

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

like image 277
sankar Avatar asked Mar 16 '26 15:03

sankar


2 Answers

ANTS Memory Profiler 6 now includes Silverlight 4 profiling support:

http://www.red-gate.com/products/ants_memory_profiler/index.htm

(Disclaimer: I work for Red Gate and am biased as hell.)

Hope that helps!

Bart

like image 60
Bart Read Avatar answered Mar 18 '26 06:03

Bart Read


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. Open a Visual Studio command prompt
  2. VSPerfClrEnv /globalsamplegclife
  3. VSPerfCmd -start:sample -output:somefile.vsp
  4. VSPerfCmd -launch:"c:\Program Files (x86)\Internet Explorer\iexplore.exe" -args:""
  5. VSPerfCmd -globalon
  6. VSPerfCmd -shutdown
  7. VSPerfClrEnv /off

The generated VSP will include memory statistics.

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

like image 45
Oren Avatar answered Mar 18 '26 06:03

Oren



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!