Red Gate forums :: View topic - Error when checking the "Kept in memory only by disposed obj
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

Error when checking the "Kept in memory only by disposed obj

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



Joined: 07 Oct 2008
Posts: 7

PostPosted: Tue Sep 15, 2009 2:39 pm    Post subject: Error when checking the "Kept in memory only by disposed obj Reply with quote

When profiling an asp.net website hosted in IIS, when I check the box under Common Leak Indicators called "Kept in memory only by disposed objects", I get this pop up error and the output will not display:

Specified argument was out of the range of valid values.Parameter name: identifier
System.ArgumentOutOfRangeException
at dq.ObjectWithIdentifier(Int32 identifier)
at bv.b()
at bv.a()
at bv.get_ConnectedToRootStrong()
at bq.get_ConnectedToStrongRoots()
at bc.get_ConnectedToStrongRoots()
at cX.Select(IGraphAnalysis analysis, IComparisonAnalysis comparison)
at cx.Select(IGraphAnalysis analysis, IComparisonAnalysis comparison)
at cW.Select(IGraphAnalysis analysis, IComparisonAnalysis comparison)
at ct.Select(IGraphAnalysis analysis, ISnapshotComparison comparison)
at RedGate.Memory.Controller.ControllerState.ControllerState.get_FilteredCurrentObjects()
at RedGate.Memory.Controller.ControllerState.ControllerState.get_CategorisedCurrentObjects()
at i.get_CategorisedCurrentObjects()
at N.a()
at N.b(Object , GenericEventArgs`1 )
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at i.a(StateUpdateType )
at i.set_FilterPanelState(IFilterPanelState value)
at w.a(Object , GenericEventArgs`1 )
at W.<>c__DisplayClass3.<.ctor>b__1()
at O.b()


This is running on a fully patched 32-bit Windows 2003 Server machine with ample RAM and free disk space available.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Wed Sep 16, 2009 3:11 pm    Post subject: Reply with quote

Hi Jason,

I believe this could also be a symptom of ASP .NET's specialized multithreaded garbage collection disposing some .NET objects behind Profiler's back. Disabling "serverGC" should get memory profiling working for you. Please see http://support.microsoft.com/kb/911716 for the instructions on how to turn it off.
Back to top
View user's profile Send private message
engica1



Joined: 20 Oct 2009
Posts: 1

PostPosted: Tue Oct 20, 2009 12:18 pm    Post subject: I have this problem too Reply with quote

I am running Server 2008 RC2
Running against IIS on port 80

setting gcServer="false" did not seem to help Sad

Cheers
_________________
Martin Sarosi
Back to top
View user's profile Send private message Yahoo Messenger
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Tue Oct 20, 2009 6:06 pm    Post subject: Reply with quote

We think that serverGC can also be set in the "global" web.config in the CONFIG folder of the .NET installation, and maybe even in Machine.config. You may want to check those places as well as the local web.config.
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