Profiling Microsoft Office managed-code add-ins

Memory profiling for .NET developers

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

Profiling Microsoft Office managed-code add-ins

Postby alphacent » Mon Jun 14, 2010 6:36 pm

I'm trying to profile an Excel add-in but the profiler keeps on crashing whenever I take a snapshot. I followed the instructions here:

http://www.red-gate.com/supportcenter/C ... wledgebase\\ANTS_Memory_Profiler\\KB200801000224.htm

The add-in is .NET 4 on Excel 2010 on Windows 7.

Here's the error:
------------------------------------------------------
Snapshot failed (CantMapMemory)
Q
at P.g(Object , EventArgs )
at T.<>c__DisplayClass16.<backer_SnapshotCompleted>b__15()
at O.b()
------------------------------------------------------
alphacent
 
Posts: 1
Joined: Mon Jun 14, 2010 6:31 pm

Postby nick.maidment » Wed Jun 16, 2010 1:00 pm

I've just sent you an email, please let me know if you get it.
nick.maidment
 
Posts: 74
Joined: Fri Jan 29, 2010 1:55 pm

Postby marcorusso » Tue Mar 29, 2011 2:29 pm

I have a very similar issue: Excel 2010 crashes as soon as I try to create a memory snapshot.
I'm using ANTS Memory Profiler 7 on Excel 2010 running on Windows XP.
Trying to attach to the running process doesn't work (but I know that XP in this case is not supported for attach to process).

What can we try to do?

Thanks,

Marco Russo
marcorusso
 
Posts: 20
Joined: Sun Mar 19, 2006 4:52 pm

Postby Brian Donahue » Wed Mar 30, 2011 12:09 pm

FYI, in the previous case, the crash went unresolved because the other person never got back to us with the requested information. But because Profiler interferes with your application and doesn't record any diagnostics at that end, we'll end up asking for a complete dump of the process memory and have to sort through that.

Fortunately due to the number of occurrences of Profiler doing this we're becoming world-class dump analyzers.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests