Detecting Memory leaks tools on Wp7

荒凉一梦 提交于 2019-12-11 01:25:17

问题


Does anyone know of any good tools to detect memory leaks on the Windows phone 7.5 platform?


回答1:


The built-in profiling tools are probably the best starting point.

Select: Debug > Start Windows Phone Perfomance Analysis
and select the the "Memory" option

This will help you see any memory spikes and leaks and help you drill down to the cause.

See
http://msdn.microsoft.com/en-us/library/hh202934(v=vs.92).aspx
and
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2012/02/01/memory-profiling-for-application-performance.aspx
for more guidance on using the tool




回答2:


I have started a series of blog posts regarding the usage of this tool :-

http://smartmobidevice.blogspot.co.uk/2012/04/windows-phone-performance-analysis-tool.html

You may also find the following blog post useful :-

http://windowsteamblog.com/windows_phone/b/wpdev/archive/2012/05/10/memory-profiling-the-heap-summary-view.aspx



来源:https://stackoverflow.com/questions/10503069/detecting-memory-leaks-tools-on-wp7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!