Profiling Microsoft Office managed-code add-ins

Memory profiling for .NET developers

Profiling Microsoft Office managed-code add-ins

Postby alphacent » Mon Jun 14, 2010 5: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: ... 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)
at P.g(Object , EventArgs )
at T.<>c__DisplayClass16.<backer_SnapshotCompleted>b__15()
at O.b()
Posts: 1
Joined: Mon Jun 14, 2010 5:31 pm

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

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

Postby marcorusso » Tue Mar 29, 2011 1: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?


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

Postby Brian Donahue » Wed Mar 30, 2011 11:09 am

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: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest