Red Gate forums :: View topic - Can snapshots be made without having the UI up?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 7 EAP
ANTS Memory Profiler 7 EAP forum

Can snapshots be made without having the UI up?

Search in ANTS Memory Profiler 7 EAP forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
haggard



Joined: 14 Nov 2010
Posts: 4

PostPosted: Tue Nov 16, 2010 12:27 am    Post subject: Can snapshots be made without having the UI up? Reply with quote

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
Back to top
View user's profile Send private message
dom.smith



Joined: 03 Jun 2010
Posts: 94
Location: Cambridge, UK

PostPosted: Tue Nov 16, 2010 10:58 am    Post subject: Reply with quote

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,
_________________
Dominic Smith,
Project Manager,
Red Gate Software.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group