Deleting a snapshot

Memory profiling for .NET developers

Moderators: StephenC, Alex.Davies, AndrewH, melvyn.harbour

Deleting a snapshot

Postby rhind » Mon Dec 07, 2009 9:04 am

During profiling our application, I take numerous snapshots. I then save the profiler results to disk so they can be analysed later. They're coming out at nearly 400MB on disk.

I don't need some of the intermediary snapshots I saved, so is there a way I can delete them before saving to disk? I can't find an option for it.

Cheers

Russell
rhind
 
Posts: 6
Joined: Mon Dec 07, 2009 8:59 am

Postby StephenC » Mon Dec 07, 2009 11:23 am

Hi,

There's currently no way to delete snapshots from AMP.

We may consider this for future versions of the Profiler.

Apart from this shortcoming - can I ask how are you finding the tool in general?

Thanks for your feedback,

Stephen
StephenC
 
Posts: 306
Joined: Mon Oct 15, 2007 9:18 am
Location: Cambridge

Postby rhind » Mon Dec 07, 2009 11:29 am

Very useful and easy to use. Have tracked down a big leak in one of our applications which was a gradual leak over a few days of running, causing us to run out of memory.

Biggest issue I've had is that its failed to take snapshots on a few occasions due to errors such as 'unable to find class' errors which don't kill the mem profiler, but do leave the snapshot buttons etc disabled. I've send a support request regarding one of these to you.

And earlier today, the mem profiler died completely when taking a snapshot.

These don't seem to be reproducible though as I'm running in a virtual machine, so I take a virtual machine snapshot before taking a memory snapshot and if the snapshot failed, I revert the virtual machine and take it again which seems to work.

But they are an issue as we have to run for about 12 hours between taking snapshots and if mem profile dies, it can delay us a day.

Cheers

Russell
rhind
 
Posts: 6
Joined: Mon Dec 07, 2009 8:59 am

Postby StephenC » Mon Dec 07, 2009 11:37 am

Hi Russell,

this may be due to a number of reasons - quite a number of which have been resolved in V5.2 which should be coming out in the not too distant future.

If you are using IIS then you may also be hitting a problem with a server GC issue that we have become aware of.

I'll drop you an email to try and resolve these issues,

Stephen
StephenC
 
Posts: 306
Joined: Mon Oct 15, 2007 9:18 am
Location: Cambridge

Postby rhind » Mon Dec 07, 2009 11:41 am

Thanks. We're not using IIS so it isn't down to this.

Cheers

Russell
rhind
 
Posts: 6
Joined: Mon Dec 07, 2009 8:59 am

Postby rhind » Mon Dec 07, 2009 11:45 am

Just to say, we may be pushing it fairly hard. We have nearly 3000 classes and somewhere around 300,000 total instances in the classes list and using up to 500MB of GC memory (calling GC.GetTotalMemory) and sometimes over 1GB total VM size.

Cheers

Russell
rhind
 
Posts: 6
Joined: Mon Dec 07, 2009 8:59 am

Postby David.Narraway » Wed Dec 09, 2009 8:28 am

I second the request for a snapshot deletion feature!

David.
David.Narraway
 
Posts: 14
Joined: Fri Oct 23, 2009 9:26 am
Location: Oulu, Finland

Postby bdejong » Tue Jan 05, 2010 8:31 pm

I will also jump on this bandwagon. The ability to re name the snapshots is great, it would be very helpful to get rid of the ones that we know are not adding anything useful.
Thanks,
Brian
bdejong
 
Posts: 10
Joined: Tue Jan 05, 2010 7:44 pm


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests