Performance Counters Not Showing

Memory profiling for .NET developers

Moderators: Luke Jefferson, StephenC, AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

Performance Counters Not Showing

Postby oppete » Thu Nov 08, 2012 6:50 pm

We recently purchased ANTS memory profiler. I have version 7.4.0.41 installed on my machine. I've noticed that the performance counters graph at the top of the screen is not showing anything. When I view the program log I see the following repeated over and over for each of the performance counters selected (# Bytes in all Heaps, Private Bytes, Large Object Heap Size):

08 Nov 2012 10:33:34.670 [30] ERROR RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - Unable to create performance counter 'Large Object Heap size'. The reported exception indicates that this could be due to corrupted performance counter configuration: Input string was not in a correct format.
08 Nov 2012 10:33:34.671 [30] ERROR RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - Input string was not in a correct format.
08 Nov 2012 10:33:34.671 [30] ERROR RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - System.FormatException
08 Nov 2012 10:33:34.672 [30] ERROR RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists)
at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at ???.???.
oppete
 
Posts: 2
Joined: Thu Nov 08, 2012 6:36 pm

Fixed it

Postby oppete » Fri Nov 09, 2012 5:18 pm

oppete
 
Posts: 2
Joined: Thu Nov 08, 2012 6:36 pm

Postby jessica.ramos » Fri Nov 09, 2012 7:37 pm

Glad to hear you've resolved the issue! Please let us know if you run into any other isses :)
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm


Return to ANTS Memory Profiler 7

Who is online

Users browsing this forum: No registered users and 0 guests