I am working on a planned background agent for Mango (7.1)
I managed to reduce memory usage from 10.5 MB to 6.5 MB using manual tracing methods based on DeviceStatus.ApplicationPeakMemoryUsage
, as well as some reasonable guesses about what needs to be optimized.
However, now I need to drop below 6 MB - and the final 0.5 MB will be elusive.
I managed to run Windows Phone Performance Analysis in the main application, but it seems that I cannot find a way to make it work against the agent.
Are there any tools and / or methods that will help me in developing what fills the memory of my agent? Ideally, I would like to explore the entire memory space, including code and data, and ideally it should work against the release build.
source share