Custom counters file view is out of memory.

Jun 10, 2013 at 4:43 PM
Edited Jun 11, 2013 at 2:32 AM
Hi, keithh,

we run into below exceptions as more and more users connect to server, do you have any idea on this? had you met this issue before?

Message] CommunicationHander, AcceptConnection: Successfully create new out- communication thread, ClientRouterName: CIENTMACHINE, EndPointInfo: Remote:, Local:

[Information] 2013-06-10 11:10:48 @ .
[Message] Exception: Custom counters file view is out of memory.
Source: System
StackTrace: at System.Diagnostics.SharedPerformanceCounter.CalculateMemory(Int32 oldOffset, Int32 totalSize, Int32& alignmentAdjustment)
at System.Diagnostics.SharedPerformanceCounter.CreateInstance(CategoryEntry* categoryPointer, Int32 instanceNameHashCode, String instanceName, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.SharedPerformanceCounter.GetCounter(String counterName, String instanceName, Boolean enableReuse, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.SharedPerformanceCounter..ctor(String catName, String counterName, String instanceName, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value)
at Microsoft.WebSolutionsPlatform.Event.SynchronizationQueue`1..ctor(PerformanceCounter performanceCounter)
Jun 10, 2013 at 5:32 PM
It looks like you're running out of memory for perf counters. There is a registry setting for how much memory to allocate for perf counters. You'll need to do a search the web to find the name of the reg key and increase it.
Jun 11, 2013 at 6:36 AM
Thanks, keithh