M
Muntz
We have written a SOAP Extension assembly that writes timings and method
counts to Performance Counter instances every time a Web Method is invoked.
This has been working stably for some years.
Recently one one server or another we have noticed some exceptions coming
out of this assembly:
System.InvalidOperationException: Custom counters file view is out of memory.
at System.Diagnostics.SharedPerformanceCounter.CreateInstance(Int32
counterNameHashCode, String counterName, Int32 instanceNameHashCode, String
instanceName)
at System.Diagnostics.SharedPerformanceCounter.GetCounter(String
categoryName, String counterName, String instanceName)
at System.Diagnostics.SharedPerformanceCounter..ctor(String
categoryName, String counterName, String instanceName)
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName,
String counterName, String instanceName, Boolean readOnly)
What is the underlying cause of this exception? Can action be taken in
advance to prevent this exception occurring again?
We are MSDN Universal Subscribers. ([email protected])
counts to Performance Counter instances every time a Web Method is invoked.
This has been working stably for some years.
Recently one one server or another we have noticed some exceptions coming
out of this assembly:
System.InvalidOperationException: Custom counters file view is out of memory.
at System.Diagnostics.SharedPerformanceCounter.CreateInstance(Int32
counterNameHashCode, String counterName, Int32 instanceNameHashCode, String
instanceName)
at System.Diagnostics.SharedPerformanceCounter.GetCounter(String
categoryName, String counterName, String instanceName)
at System.Diagnostics.SharedPerformanceCounter..ctor(String
categoryName, String counterName, String instanceName)
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName,
String counterName, String instanceName, Boolean readOnly)
What is the underlying cause of this exception? Can action be taken in
advance to prevent this exception occurring again?
We are MSDN Universal Subscribers. ([email protected])