Windows Phone 8: Monitoring memory usage in mixed C#/C++

I want to monitor memory usage of a mixed C#/C++ app on Windows Phone 8 which uses Windows Phone Runtime Components. The problem is that when openening the analysis toolkit in Visual Studio (ALT+F1) I have only the option "Execution" (http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202934%28v=vs.105%29.aspx). For "pure" C# project the memory options are available as well.

Are there other more or less easy means to monitor memory usage?

Regards,


Have you considered building your own C# memory monitoring UI? It won't be as fancy or detailed as Visual Studio's memory analyzer, but it was the norm for about a year before WP7.5 introduced memory profiling capability.

I've written about this topic before on Nokia's Wiki under Techniques for memory analysis of Windows Phone apps. Specifically the parts you care about are Add on-screen coding4fun MemoryCounter and Create your own memory profiler.

链接地址: http://www.djcxy.com/p/11566.html

上一篇: Google静态地图配额已达到但不超过25,000个限制

下一篇: Windows Phone 8:以混合C#/ C ++监视内存使用情况