|
|
|
start date: Thu, 16 Aug 2007 17:44:20 -0700,
posted on: microsoft.public.dotnet.framework.performance
back
| Thread Index |
|
1
RickyMcKay
|
|
2
Adam Benson
|
|
3
RickyMcKay
|
Perfmon wonât log .Net CLR Memory data to a file
Hi all
I am having problem using perfmon to record to a log file the .Net CLR
memory data. I am trying this on two machines (both XP SP2) and it doesn’t
work on either, although with different results.
Here is the process:
*Launch Perfmon and select “Counter Logs”
*Create a log to listen to the “: #Bytes in all Heaps\MyProgram” counter
*Start Log
Then on machine a)
*The log starts but there is the following error in event log
Error : .Net Runtime
“Unable to open shim database version registry key - v2.0.50727.00000.”
*There is also a waning
Information : SysmonLog
“Log Heap Bytes has been started or restarted and is logging data to file
C:\PerfLogs\Heap Bytes_000002.csv.”
*The log is created but the it only contains time data, no heap data
Then on Machine B
* The log doesn’t start and there are two entries in the event viewer
Warning : SysMonLog
“The service was unable to add the counter '\\UK0025084D\.NET CLR
Memory(Alpha.Net)\# Bytes in all Heaps' to the Alpha Heap Test log or alert.
This log or alert will continue, but data for that counter will not be
collected. The error returned is: The specified object is not found on the
system.”
*And ..
Warning: SysMonLog
“The service was unable to add any counters to the Alpha Heap Test log or
alert. This log or alert will not be started.”
*And as is says no log is recorded.
So in both cased I am unable to view the required data.
I should say that just viewing the same data with PerfMon, rather than
logging it to a file, works fine on both machines. There is also no problem
recording non .Net data such as “Process\Privarte Bytes”.
If anyone can help me out here I would be very grateful.
Yours
Ricky
Date:Thu, 16 Aug 2007 17:44:20 -0700
Author:
|
Re: Perfmon won't log .Net CLR Memory data to a file
Hi,
Don't know if this will help or not, but it's worth a try. I had a problem
with perfmon not logging .NET counters and this sorted it.
http://support.microsoft.com/kb/839506/en-us
HTH,
Adam
========
Date:Mon, 20 Aug 2007 11:23:26 +0100
Author:
|
Re: Perfmon won't log .Net CLR Memory data to a file
Hi Adam
Yes that was it, thanks so much. Will make my life a lot easier now.
Cheers
Ricky
"Adam Benson" wrote:
> Hi,
>
> Don't know if this will help or not, but it's worth a try. I had a problem
> with perfmon not logging .NET counters and this sorted it.
>
> http://support.microsoft.com/kb/839506/en-us
>
> HTH,
>
> Adam
> ========
>
>
>
Date:Mon, 20 Aug 2007 03:40:01 -0700
Author:
|
|
|