| Author |
Message |
jasolution
Joined: 07 Oct 2008 Posts: 7
|
Posted: Tue Sep 15, 2009 2:39 pm Post subject: Error when checking the "Kept in memory only by disposed obj |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Wed Sep 16, 2009 3:11 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
engica1
Joined: 20 Oct 2009 Posts: 1
|
Posted: Tue Oct 20, 2009 12:18 pm Post subject: I have this problem too |
|
|
I am running Server 2008 RC2
Running against IIS on port 80
setting gcServer="false" did not seem to help
Cheers _________________ Martin Sarosi |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Tue Oct 20, 2009 6:06 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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