C# Microsoft.ApplicationInsights.Channel.InMemoryTransmitter.Runner()

C# Microsoft.ApplicationInsights.Channel.InMemoryTransmitter.Runner(),c#,memory-leaks,azure-application-insights,memory-dump,C#,Memory Leaks,Azure Application Insights,Memory Dump,线程xx-系统ID xxxxx此线程正在WaitOne中等待 入口点clr!线程::intermediateThreadProc 完整调用堆栈 ntdll!ZwWaitForMultipleObjects+c KERNELBASE!WaitForMultipleObjectsEx+f0 clr!WaitForMultipleObjectsEx_SO_TOLERANT+3c clr!Thread::DoAppropriateWaitWorker+237 clr!Thread::DoAppr

线程xx-系统ID xxxxx此线程正在WaitOne中等待 入口点clr!线程::intermediateThreadProc

完整调用堆栈

ntdll!ZwWaitForMultipleObjects+c 
KERNELBASE!WaitForMultipleObjectsEx+f0 
clr!WaitForMultipleObjectsEx_SO_TOLERANT+3c 
clr!Thread::DoAppropriateWaitWorker+237 
clr!Thread::DoAppropriateWait+64 
clr!WaitHandleNative::CorWaitOneNative+163 
mscorlib_ni!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)+21 
mscorlib_ni!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)+21 
mscorlib_ni!System.Threading.WaitHandle.WaitOne(System.TimeSpan, Boolean)+60 
mscorlib_ni!System.Threading.WaitHandle.WaitOne(System.TimeSpan, Boolean)+60 
mscorlib_ni!System.Threading.WaitHandle.WaitOne(System.TimeSpan)+17 
mscorlib_ni!System.Threading.WaitHandle.WaitOne(System.TimeSpan)+17 
Microsoft.ApplicationInsights.Channel.InMemoryTransmitter.Runner()+7b 
mscorlib_ni!System.Threading.Tasks.Task.InnerInvoke()+28 
mscorlib_ni!System.Threading.Tasks.Task.Execute()+30 

我在azure内存转储分析中发现以下内存泄漏。你能告诉我我错过了什么吗。我正在使用.Net 4.6.1 framework&application insight 2.11.0.0

这是app insight频道,正在等待遥测发送。在批量发送遥测数据之前,通道等待若干项或经过一定时间。它的存在本身并不是真正的“泄漏”,但它可能取决于“泄漏”的定义以及通道在发送项目之前缓冲项目的时间

如果您认为这是一个真正的漏洞,那么最好在.net sdk的github中报告:


这是app insights频道,正在等待遥测发送。在批量发送遥测数据之前,通道等待若干项或经过一定时间。它的存在本身并不是真正的“泄漏”,但它可能取决于“泄漏”的定义以及通道在发送项目之前缓冲项目的时间

如果您认为这是一个真正的漏洞,那么最好在.net sdk的github中报告:


您是如何意识到这是内存泄漏的?@ArtemRazin我们对Azure应用程序服务运行了内存转储。在分析师的报告中,它提到线程正在等待多重线程。您是如何意识到这是内存泄漏的?@ArtemRazin我们对Azure应用程序服务运行了内存转储。在analyst上,它提到线程正在等待评论。我已经提出了一个问题,他们对此没有回应。fyr,感谢您的评论。我已经提出了一个问题,他们对此没有回应。fyr,