Red Gate forums :: View topic - Creating a Snapshot Causes a Crash
Return to www.red-gate.com RSS Feed Available

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

Creating a Snapshot Causes a Crash

Search in ANTS Memory Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
Ian Vollick



Joined: 03 Sep 2009
Posts: 1

PostPosted: Thu Sep 03, 2009 2:56 pm    Post subject: Creating a Snapshot Causes a Crash Reply with quote

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



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Thu Sep 03, 2009 3:13 pm    Post subject: Reply with quote

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



Joined: 12 Mar 2009
Posts: 586

PostPosted: Mon Sep 21, 2009 3:42 pm    Post subject: Reply with quote

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/2008/10/12/increase-addin-performance-with-maf-and-wpf-using-loaderoptimization.aspx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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