Creating a Snapshot Causes a Crash

Memory profiling for .NET developers

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

Creating a Snapshot Causes a Crash

Postby Ian Vollick » Thu Sep 03, 2009 2:56 pm

I wish I could give you more useful information, but I get no symbols for any stack frame when I crash. Is this common? Am I doing something wrong?

Thanks,
Ian
Ian Vollick
 
Posts: 1
Joined: Thu Sep 03, 2009 2:41 pm

Postby StephenC » Thu Sep 03, 2009 3:13 pm

Hi Ian,

sorry for the trouble you are having. It's very unusual for this to happen.

Could you open the memory profiler, go to the Help menu and click on the 'Open Log Folder...' option and send the files to support@red-gate.com referencing this forum post.

We will look into it for you and get in contact when we've had a look into the file.

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

Postby Chris.Allen » Mon Sep 21, 2009 3:42 pm

We now have two workarounds for crashes:

1. What we have found that works is disabling the server garbage collector as described here: <http://support.microsoft.com/kb/911716>
Remember- "server GC" actually means multi-core GC.

2. Parametize your main method with:

[System.LoaderOptimization(LoaderOptimization.MultiDomain)]

or

[System.LoaderOptimization(LoaderOptimization.MultiDomainHost)]

If you don't have a main method, for example: if you have a WPF project, take a look at this article which shows you how to do it:

http://www.matthidinger.com/archive/200 ... ation.aspx
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest