Click here to Skip to main content
15,886,563 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Server running the application has 144GB RAM. Why am I getting this error. Tried a restart of the system and that too didn't help.

Removed the counters and that too didn't help.

VB
[InvalidOperationException: Custom counters file view is out of memory.]
   System.Diagnostics.SharedPerformanceCounter.CalculateMemory(Int32 oldOffset, Int32 totalSize, Int32& alignmentAdjustment) +165
    System.Diagnostics.SharedPerformanceCounter.CreateCategory(CategoryEntry* lastCategoryPointer, Int32 instanceNameHashCode, String instanceName, PerformanceCounterInstanceLifetime lifetime) +542
    System.Diagnostics.SharedPerformanceCounter.GetCounter(String counterName, String instanceName, Boolean enableReuse, PerformanceCounterInstanceLifetime lifetime) +327
    System.Diagnostics.SharedPerformanceCounter..ctor(String catName, String counterName, String instanceName, PerformanceCounterInstanceLifetime lifetime) +402
    System.Diagnostics.PerformanceCounter.InitializeImpl() +2234
   System.Diagnostics.PerformanceCounter.Initialize() +56
   System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly) +159
    System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, Boolean readOnly) +50
    SterlingVDR.Telemetry.MethodCounter..cctor() in d:\Philip\Branches\Interceptors_V1\SterlingVDR.Telemetry\MethodCounter.cs:731
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900