Windows Phone 内存分析器 [英] Windows Phone Memory Profilers
问题描述
我目前很难将后台代理的峰值内存消耗降低到 6MB 限制以下.是否有关于支持 WP7 的内存分析器的任何建议.我什至没有要求类似 dotTrace 的东西,而是基本上可以提供对正在发生的事情的一些见解的任何东西.
I'm currently having a hard time driving down the peak memory consumption of my background agent below the 6MB limit. Are there any recommendations for WP7 capable memory profilers. I am not even asking for something along the lines of dotTrace but basically anything that offers some insight about what's going on.
推荐答案
Windows Phone SDK 附带一个分析器,用于内存消耗和其他事项,安装 SDK 后可在 Visual Studio 中使用.
The Windows Phone SDK comes with a profiler for both memory consumption, and other things, that's available in Visual Studio after installation of the SDK.
此外,尝试查看后台代理代码,并将其移动到单独的应用程序中,然后在前台运行它.这可能会让您更容易找到问题所在.
Also, try look isolated at the background agent code, and move it to a separate application, where you run it in the foreground. That could possible make it easier for you to nail where the problem is.
这篇关于Windows Phone 内存分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!