Analyzing a Compact Framework Application using Remote Performance Monitor

Assumption: You have remote performance monitor installed and running (this will be the topic of another blog post, or you can review the references at the end of this article).

Garbage Collector

  • GC Latency Time

Memory Usage

  • AppDomain and JIT Heaps:
    • Never shrinks.
    • Returns memory at the end of the applications life.
    • Impacts the 32MB virtual memory limit on Windows CE 5.0.
    • Typically these should be under 1MB, although they can be larger on really big applications.
    • Size is related to the number of types, along with the number and size of method calls.
  • GC Heap
    • Varies with the life of the application
    • Impacts the 32MB virtual memory limit
    • 4-5 MB is not uncommon.
    • The amount of change in the GC heap is of more concern

 

How can I make my app faster?

I would suggest reading the post referenced below published by the MS Compact Framework team. I’ve seen it copied almost word for word at several places, so I’m not going to do that here. There is also an entire section in MSDN on Compact Framework Performance (see references below).

References:

This entry was posted in Miscellaneous. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">