I'm using the VS solution. It builds without error. However, at runtime it generates this exception:
_ramTotalCounter = new PerformanceCounter("Memory", "Available Bytes");
Exception details are:
System.InvalidOperationException
HResult=0x80131509
Message=Could not locate Performance Counter with specified category name 'Memory', counter name 'Available Bytes'.
Source=System
StackTrace:
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName)
at QuantConnect.OS.get_RamTotalCounter() in C:\Users\Sidney\Desktop\Lean-master\Lean-master\Common\OS.cs:line 49
at QuantConnect.OS.get_TotalPhysicalMemory() in C:\Users\Sidney\Desktop\Lean-master\Lean-master\Common\OS.cs:line 194
at QuantConnect.Lean.Launcher.Program.Main(String[] args) in C:\Users\Sidney\Desktop\Lean-master\Lean-master\Launcher\Program.cs:line 75
Is anyone else having this problem? How did you resolve it?