Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7032805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:58:56+00:00 2026-05-28T00:58:56+00:00

Windows phone performance analysis creates a file with .sap extension. This .sap file is

  • 0

Windows phone performance analysis creates a file with .sap extension. This .sap file is a xml file that contains information about what has been probed i.e. memory, code, visual. It also contains link to the log file :
File Type=”NativeFormat” Path=”PerformanceLogs\SampleApp634619173996182143\tmp9EE1.tmp”

I’m not able to open tmp9EE1.tmp as I fail to find what Type=”NativeFormat” means.
Basically what I want from profiler tool is:
– an xml or csv or any file that contains memory consumption information for particular time period
eg. 100 ms = 10 mb, 200 ms = 12 mb, 300 ms = 13 mb etc.

Instead of the graphical tool (as provided by profiler), I want result in any readable format text,csv,xml.

Please let me know if it is possible.
Thx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:58:57+00:00Added an answer on May 28, 2026 at 12:58 am

    I don’t know if it is possible to solve it with a performance analysis tool, but you could do this with a timer and then log it yourself. I used this code to see how much memory my app is using, and you could tweak it to fit your needs.

    And one more thing i added this to App-s constructor.

    I hope this will help you.

        var timer = new System.Windows.Threading.DispatcherTimer { Interval = TimeSpan.FromSeconds(2) };
        timer.Tick += (s, e) =>
        {
            var mempeakuse = (long)Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("ApplicationPeakMemoryUsage");
            var memuse = (long)Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("ApplicationCurrentMemoryUsage");
            var maxmem = (long)Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceTotalMemory");
            memuse /= 1024 * 1024;
            mempeakuse /= 1024 * 1024;
            maxmem /= 1024 * 1024;
            System.Diagnostics.Debug.WriteLine(String.Format("Mem usage: {0} / {1} / {2} MB", memuse, mempeakuse, maxmem));
        };
        timer.Start();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Windows Phone 7.5 app. Designer has created Home.xaml in Blend that has 3 images(menu
I am very new at all this c# Windows Phone programming, so this is
I am looking for a performance/cpu profiler for Windows Phone 7 silverlight apps. Something
I'm developing an app for Windows Phone 7 that populates a WrapPanel with a
Is there performance profiler for Windows Phone 7 (SL/XNA)? I just want to measure
I'm writing a windows phone app that consist of a pivot control, and I
I have a Windows Phone application I am developing that needs to persist some
Windows Phone 7's People hub has an all panorama item with search and a
Windows phone 7 standard pictures app has very nice flicking through images (choose concrete
The Windows Phone 7 project I'm working on has 2 UIs, and a core

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.