Red Gate forums :: View topic - ArgumentOutOfRangeException
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

ArgumentOutOfRangeException

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



Joined: 09 Mar 2010
Posts: 3

PostPosted: Thu Mar 11, 2010 1:26 pm    Post subject: ArgumentOutOfRangeException Reply with quote

I get the following exception when clicking the "Show Instance List for this class" or sometimes when taking a memory snapshots:

Specified argument was out of the range of valid values.Parameter name: endId
System.ArgumentOutOfRangeException
at aV.ReadIdTableEntries(Int32 startId, Int32 endId, ac[] target, Int32 targetOffset)
at dn.b()
at dn.ObjectIsNew(IObject obj)
at Y.a()
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at i.a(StateUpdateType )
at i.a(ControllerState )
at RedGate.Memory.Controller.UIControllers.ClassListController.ClassListController.b(Object , GenericEventArgs`1 )
at S.<>c__DisplayClassd.<.ctor>b__5()
at O.b()

I have Memory Profiler 5.1.0.15 installed. Checking for updates says that their is no update available.
Back to top
View user's profile Send private message
Paul.Martin



Joined: 03 Feb 2010
Posts: 83
Location: Cambridgeshire

PostPosted: Thu Mar 11, 2010 6:27 pm    Post subject: Reply with quote

What type of application are you trying to debug (a web app / desktop / windows service)?

We have come across this problem on web applications where the multi-threaded version of the garbage collector (serverGC) can cause problems and reverting to the standard workstation garbage collector can often fix this. Please see http://support.microsoft.com/kb/911716 for the instructions on how to change the garbage collector while running the profiling.
As most of the ASP.NET settings can be set in lots of different ".config" files you may also need to check and set the serverGC tag in the "global" web.config in the CONFIG folder of the .NET installation, in Machine.config and the local web.config.



There definitely should be an update available, as the latest version of ANTS Memory Profiler is 5.2.0.49. Quite why it should not find any updates I am not sure, and I apologise for that.

To manually update the program you can download and install the trial edition from our website, this will update your edition to the latest version.
Back to top
View user's profile Send private message
Rauhotz



Joined: 09 Mar 2010
Posts: 3

PostPosted: Thu Mar 11, 2010 11:59 pm    Post subject: Reply with quote

The application is a desktop application, running as x86 on an x64 windows with default garbage collector (nothing set in the app.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