Interpreting Performance Statistics

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my continuing saga of trying to figure out why my application occasionally
& randomly hangs I have turned to performance statistics. I have obtained
some numbers but I'm not sure how to interpret then. I have read some
information on what the various counters are but I have not seen any
benchmarks so that I can determine if some of my counters are higher or lower
than they should be.

My app is a data collection application and here are some performance
statistics based on a session in which I entered 450 records (typical day).
Some of the numbers that seem relevant....

Number of Objects Allocated = 2484776
Number of Simple Collections = 0
Number of Compact Collections = 73
Number of Full Collections = 3
Number of Calls = 21678873

Does anybody see anything that sticks out in any of these performance stats?
What I'm wondering is if my app might be hanging when the user is trying to
do something when say a Full Garbage Collection is happening? Any comments
suggestions would be greatly appreciated!

Thanks!!!!

Mike
 
Hi Mike!!!!

Are you inserting rows in a local database in, say, SQLCE??? If so, I
strongly recommend to verify if you have enough memory to both save the
information in your pocket PC AND to run your application. To check this, go
to the memory applet in the control panel exactly the moment that you are
collecting data.

In many cases, the memory of the device is divided in halfs between
storage and execution by default. If you ran out of ram either for execution
or storage, Windows Pocket PC will try to re-arrange memory... but it does
take a while. This may have an impact for every insert statement you execute.

Hope it helps!!!

Tarh ik
PS: This posting has been posted "AS IS"
 
Back
Top