Red Gate forums :: View topic - Specified argument was out of the range of valid values
Return to www.red-gate.com RSS Feed Available

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

Specified argument was out of the range of valid values

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
mihaichiritescu



Joined: 21 Jun 2012
Posts: 2

PostPosted: Thu Jun 28, 2012 5:00 pm    Post subject: Specified argument was out of the range of valid values Reply with quote

Hi,

I have created 2 memory snapshots with ANTS memory profiler and I am not able to compare the instances between the first and second memory snapshots. I am not using any filtering on the class/instance list. Also note that this behavior happens also if I saved the results and opened the profiler results. The error I encounter is the following one:

Specified argument was out of the range of valid values.Parameter name: endId
System.ArgumentOutOfRangeException
at ?.??.???(Int32 , Int32 , ??[] , Int32 )
at ??.??.?()
at ??.??.?()
at ??.??.?(IObject )
at ??..(IObject , ISnapshotComparison , ?? )
at ??..??(IDispatchTask , IImmutableState , ?? )
at ??.??.??(IDispatchTask , String , ?? )
at ??.??.??(String , IDispatchTask , ?? )
at ??.??.?1.??(IDispatchTask )
at ??.??.Dispatch(? )

Also I tried the following scenario: filtered the instance list of only one memory snapshot (no comparation on snapshots) and I tried to see the instance retention graph on some objects and I am seeing the following error:

Operation is not valid due to the current state of the object.
RedGate.Memory.Interface.Exceptions.ObjectNotFoundException
at ??.??.???(Int64 , Int32 )
at ???.?.??(ArrayIndex )
at (Object , ArrayIndex )
at ???.??.??.??()
at ??.ˆ.??(IDispatchTask , IImmutableState , ?? )
at ??.??.??(IDispatchTask , String , ?? )
at ??.??.??(String , IDispatchTask , ?? )
at ??.??.?1.??(IDispatchTask )
at ??.??.Dispatch(? )

I have searched the first error on the forum and found something related to gcServer, but I checked that gcServer is not specified in the app config file. The application is a 32bit windows desktop app running on a x64 Windows 7 so I presume the GC is on workstation mode, not on server mode.

Also I have found answers saying that this could happen if the results would be bigger than 2 GB so I saved my results and say that they are only 1.2GB.

Not sure if it matters but I will specify that the desktop app consumes 1.1GB of private bytes and the RedGate.MemoryProfiler.UI.exe process consumes 790MB, I am using licensed DotNetDeveloperBundle and the memory profiler is update to the latest 7.4 version.

Does anyone know any workaround for this? In my opinion what I tried is a basic scenario and should be working properly, this is forcing us to consider other profilers.

Thanks,
Paul
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 230

PostPosted: Fri Jun 29, 2012 7:00 pm    Post subject: Reply with quote

Thank you for your post. I've just sent you an email.
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
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