-
Notifications
You must be signed in to change notification settings - Fork 751
Description
When trying to register a provider in my own project using Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnableProvider from the Microsoft.Diagnostics.Tracing.TraceEvent nuget package, I get the following exception. The only way I've found to work around it is by restarting my computer. And after restart, I eventually hit the error again. (e.g. restart machine, wait a few days because I forget, then run the application and repro).
Is this known? If unknown, how can I help investigate this issue?
Running Windows OS build 19041.208
Nuget: Microsoft.Diagnostics.Tracing.TraceEvent v2.0.55
-2147023446
Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnsureStarted(EVENT_TRACE_PROPERTIES* properties)
at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnableProvider(Guid providerGuid, TraceEventLevel providerLevel, UInt64 matchAnyKeywords, TraceEventProviderOptions options)