Could not map a view into memory

dmd1214dmd1214 Posts: 20
Things have been going great for a few days of memory analysis, but i'm getting this error when saving results now.


Could not map a view into memory.
RedGate.Memory.Interface.Exceptions.CouldNotMapFileException
at j.Map(Int64 start, Int32 length)
at bb.ReverseReferenceTable(IEnumerable`1 references)
at aX.FillReferencedByCache(ap cache)
at aN.EnsureReferenceCacheAvailable()
at f.WriteLog(Int32 processId, dt writer)
at dR.a(dt )
at dW.Close()
at c.b(Object , GenericEventArgs`1 )
at ae.<>c__DisplayClass8.<.ctor>b__3()
at O.b()

Caused by:

Memory mapped operation failed with error code 0x8
System.IO.IOException






I think this is the log file you need:

25 Aug 2009 16:15:55.439 [1] INFO RedGate.Profiler.Logging.LogService - Starting new ANTS Memory Profiler 5 session
25 Aug 2009 16:15:55.454 [1] INFO RedGate.Profiler.Logging.LogService - Assembly version: 5.1.0.15
25 Aug 2009 16:16:07.236 [1] WARN RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Windows XP Professional (5.1 32-bit)
25 Aug 2009 16:16:07.236 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is supported on installed OS version
25 Aug 2009 16:16:07.517 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running: True
25 Aug 2009 16:16:07.517 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is running.
25 Aug 2009 16:16:07.517 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is enabled.
25 Aug 2009 16:16:07.517 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Successfully detected IIS installation: IIS 5.1 (Auto-detected)
25 Aug 2009 16:16:07.517 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is installed.
25 Aug 2009 16:16:26.095 [27] WARN RedGate.Profiler.Engine.Startup.IIS.IIS5Utilities - Using default .NET 2.0 credentials
25 Aug 2009 16:16:26.126 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.Sessions.IISSession - Couldn't find w3wp.exe in C:\WINDOWS\system32\inetsrv
25 Aug 2009 16:18:06.299 [27] WARN RedGate.Profiler.Engine.Startup.IIS.IIS5Utilities - Using default .NET 2.0 credentials
25 Aug 2009 16:18:06.299 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.Sessions.IISSession - Couldn't find w3wp.exe in C:\WINDOWS\system32\inetsrv
25 Aug 2009 16:19:02.799 [Profiler pipe monitor] WARN RedGate.Profiler.Engine.Startup.Sessions.IISSession - The local app data path for IIS is C:\Documents and Settings\HNRDXPLTL3W8898\ASPNET\Local Settings\Application Data, so ANTS will use C:\Documents and Settings\HNRDXPLTL3W8898\ASPNET\Local Settings\Application Data\Red Gate\ANTS Profiler to store results
25 Aug 2009 16:25:35.785 [Profiler pipe monitor] WARN RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Pipe has been closed; most likely the process being profiled has terminated.
25 Aug 2009 16:35:03.895 [27] WARN RedGate.Profiler.Engine.Startup.IIS.IIS5Utilities - Using default .NET 2.0 credentials
25 Aug 2009 16:35:03.895 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.Sessions.IISSession - Couldn't find w3wp.exe in C:\WINDOWS\system32\inetsrv
25 Aug 2009 16:36:30.207 [Profiler pipe monitor] WARN RedGate.Profiler.Engine.Startup.Sessions.IISSession - The local app data path for IIS is C:\Documents and Settings\HNRDXPLTL3W8898\ASPNET\Local Settings\Application Data, so ANTS will use C:\Documents and Settings\HNRDXPLTL3W8898\ASPNET\Local Settings\Application Data\Red Gate\ANTS Profiler to store results
25 Aug 2009 16:47:16.663 [35] WARN RedGate.Profiler.Monitoring.PerformanceDataAdapter - Invalid operation exception occurred whilst trying to check process ID: Instance 'aspnet_wp' does not exist in the specified Category.
System.InvalidOperationException: Instance 'aspnet_wp' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at RedGate.Profiler.Monitoring.PerformanceDataAdapter.a(Object , UpdateTimerElapsedEventArgs )
25 Aug 2009 16:47:17.038 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - Process 5288 is apparently not running: Process with an Id of 5288 is not running.
25 Aug 2009 16:47:17.038 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - Process with an Id of 5288 is not running.
25 Aug 2009 16:47:17.038 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - System.ArgumentException
25 Aug 2009 16:47:17.038 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at RedGate.Profiler.Monitoring.PerformanceCounterFactory.GetInstanceNameForProcessID(Int32 processID)
25 Aug 2009 16:47:17.054 [35] WARN RedGate.Profiler.Monitoring.PerformanceDataAdapter - Invalid operation exception occurred whilst trying to retrieve counter sample: Instance 'aspnet_wp' does not exist in the specified Category.
System.InvalidOperationException: Instance 'aspnet_wp' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at RedGate.Profiler.Monitoring.PerformanceDataAdapter.a(Object , UpdateTimerElapsedEventArgs )
25 Aug 2009 16:47:17.054 [35] WARN RedGate.Profiler.Monitoring.PerformanceDataAdapter - Invalid operation exception occurred whilst trying to check process ID: Instance 'aspnet_wp' does not exist in the specified Category.
System.InvalidOperationException: Instance 'aspnet_wp' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at RedGate.Profiler.Monitoring.PerformanceDataAdapter.a(Object , UpdateTimerElapsedEventArgs )
25 Aug 2009 16:47:17.054 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - Process 5288 is apparently not running: Process with an Id of 5288 is not running.
25 Aug 2009 16:47:17.054 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - Process with an Id of 5288 is not running.
25 Aug 2009 16:47:17.054 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - System.ArgumentException
25 Aug 2009 16:47:17.069 [35] WARN RedGate.Profiler.Monitoring.PerformanceCounterFactory - at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at RedGate.Profiler.Monitoring.PerformanceCounterFactory.GetInstanceNameForProcessID(Int32 processID)
25 Aug 2009 16:47:17.069 [35] WARN RedGate.Profiler.Monitoring.PerformanceDataAdapter - Invalid operation exception occurred whilst trying to retrieve counter sample: Instance 'aspnet_wp' does not exist in the specified Category.
System.InvalidOperationException: Instance 'aspnet_wp' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at RedGate.Profiler.Monitoring.PerformanceDataAdapter.a(Object , UpdateTimerElapsedEventArgs )
25 Aug 2009 16:48:57.680 [27] FATAL RedGate.Memory.Controller.Program - Unhandled exception occurred in controller worker thread: Could not map a view into memory.
RedGate.Memory.Interface.Exceptions.CouldNotMapFileException: Could not map a view into memory. ---> System.IO.IOException: Memory mapped operation failed with error code 0x8
--- End of inner exception stack trace ---
at j.Map(Int64 start, Int32 length)
at bb.ReverseReferenceTable(IEnumerable`1 references)
at aX.FillReferencedByCache(ap cache)
at aN.EnsureReferenceCacheAvailable()
at f.WriteLog(Int32 processId, dt writer)
at dR.a(dt )
at dW.Close()
at c.b(Object , GenericEventArgs`1 )
at ae.<>c__DisplayClass8.<.ctor>b__3()
at O.b()
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory - Could not map a view into memory.
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory - Could not map a view into memory.
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory - RedGate.Memory.Interface.Exceptions.CouldNotMapFileException
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory - at j.Map(Int64 start, Int32 length)
at bb.ReverseReferenceTable(IEnumerable`1 references)
at aX.FillReferencedByCache(ap cache)
at aN.EnsureReferenceCacheAvailable()
at f.WriteLog(Int32 processId, dt writer)
at dR.a(dt )
at dW.Close()
at c.b(Object , GenericEventArgs`1 )
at ae.<>c__DisplayClass8.<.ctor>b__3()
at O.b()
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory - Caused by:
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory - Memory mapped operation failed with error code 0x8
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory - System.IO.IOException
25 Aug 2009 16:48:57.992 [1] ERROR RedGate.Memory.UI.UIFactory -

Comments

Sign In or Register to comment.