Red Gate forums :: View topic - Always getting errors when I use filters
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

Always getting errors when I use filters

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



Joined: 06 Nov 2009
Posts: 2

PostPosted: Fri Nov 06, 2009 9:46 pm    Post subject: Always getting errors when I use filters Reply with quote

Good day,

When I try to use most filters (Show Only, Common Leak Indicators, etc.), I simply get an error message.

Here's one of the exceptions I get:

Specified argument was out of the range of valid values.Parameter name: objId
System.ArgumentOutOfRangeException
at aX.ReferencesForObject(Int32 objId)
at dx.<get_References>d__0.MoveNext()
at cJ.<CalculateMembers>d__0.MoveNext()
at cC.a()
at cC.IndexOf(Int32 item)
at cC.Contains(IObject obj)
at cK.<GetEnumerator>d__0.MoveNext()
at cB.<GetEnumerator>d__0.MoveNext()
at bq.FlattenSet(IObjectSet set)
at bc.FlattenSet(IObjectSet set)
at cW.Select(IGraphAnalysis analysis, IComparisonAnalysis comparison)
at cy.Select(IGraphAnalysis analysis, IComparisonAnalysis comparison)
at cW.Select(IGraphAnalysis analysis, IComparisonAnalysis comparison)
at e.a(IFilterPanelState , ChosenInClassGraph , IGraphAnalysis , ISnapshotComparison , Boolean )
at RedGate.Memory.Controller.ControllerState.ControllerState.get_FilteredCurrentObjects()
at RedGate.Memory.Controller.ControllerState.ControllerState.get_CategorisedCurrentObjects()
at x.b(Object , GenericEventArgs`1 )
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at i.a(StateUpdateType )
at i.a(ControllerState )
at w.a(Object , GenericEventArgs`1 )
at W.<>c__DisplayClass3.<.ctor>b__1()
at O.b()


So I basically can't use any of the filters...

Any ideas?

Thanks,
Frank[/url]
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Mon Nov 09, 2009 1:56 am    Post subject: Reply with quote

Hi Frank,

what type of application are you profiling?

Stephen
Back to top
View user's profile Send private message
FrankM



Joined: 06 Nov 2009
Posts: 2

PostPosted: Mon Nov 09, 2009 12:47 pm    Post subject: Reply with quote

Hi,

It is a .NET 3.1 SP1 WPF user interface application which, in the screen I am profiling, uses sockets to receive frequent updates from a server.

Thanks
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Mon Nov 09, 2009 1:12 pm    Post subject: Reply with quote

Hi Frank,

I've sent you an email with some information about this problem if you could let me know if it works.

I'll post further on here if this problem is diagnosed.

Stephen
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Mon Nov 09, 2009 2:20 pm    Post subject: Reply with quote

The solution to this was that the application is using a GC server mode with the following in the .config file:

<gcServer enabled="true"/>

Commenting this out so it would use the default setting made the filters work in this case.

It's similar to the issue posted in another topic:
http://www.red-gate.com/messageboard/viewtopic.php?t=9585

Stephen
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