简体   繁体   中英

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM