Options

ArgumentOutOfRangeException

RauhotzRauhotz Posts: 5
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.

Comments

  • Options
    Paul.MartinPaul.Martin Posts: 83 New member
    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.
  • Options
    The application is a desktop application, running as x86 on an x64 windows with default garbage collector (nothing set in the app.config).
Sign In or Register to comment.