How can we help you today? How can we help you today?

Can snapshots be made without having the UI up?

Our application is very large and processor intensive. The programmatic API to take snapshots is something that we think could be very useful. I've been asked to find out what if anything can be done to reduce the overhead of taking snapshots. For example, if a snapshot is manually triggered then not only is there effort put into taking the snapshot in the first place but also some effort goes into analyzing the results. In our case, we'd just like to take the snap but delay doing any analyzation until a later time. Is this possible? We'd also like to investigate to what degree is it possible to reduce the overhead involved in having the memory profiler active. My initial thoughts are that you can't take a snapshot without having the memory profiler active so there is little if anything that can be done to reduce the overhead involved in taking snapshots. Is this an accurate representation of the facts?
===================
Richard Lewis Haggard
haggard
0

Comments

1 comment

  • dom.smith
    Hi Richard,

    You are correct in saying that you have to run the profiler while you take the snapshots. You might be able to reduce the profiler's overhead slightly by turning off the 'monitor disposal of objects' option while profiling, however, and by recording as few performance counters as possible.

    On your other question, you can take the snapshots and then analyze the data later. When you have finished profiling your application, in ANTS Memory Profiler, go to the File menu and click Save Profiler Results... You can then use the Open Profiler Results... menu option to open the results later, when your application is not running.

    Hope that helps,
    dom.smith
    0

Add comment

Please sign in to leave a comment.