准备完成的对象被阻止

时间:2019-01-02 19:15:06

标签: c# asp.net-mvc memory-leaks

每当有人尝试访问我的应用程序时,如果有多个人在使用它,它将开始挂起。我重新创建了问题,并运行DebugDiag内存检查并收到此警告。

Number of objects ready for finalization: 457779

然后它告诉我终结器线程可能被阻塞。

As the number of finalizable objects is more than 0, please check the finalizer thread to see if it is blocked or active

Finalizer Thread
ntdll!NtWaitForSingleObject+14
KERNELBASE!WaitForSingleObjectEx+8f
clr!CLREventBase::WaitEx+17c
clr!CLREventBase::WaitEx+113
clr!CLREventBase::WaitEx+7c
clr!FinalizerThread::WaitForFinalizerEvent+44
clr!FinalizerThread::FinalizerThreadWorker+54
clr!Frame::Push+59
clr!FillInRegTypeMap+198
clr!FillInRegTypeMap+c1
[[DebuggerU2MCatchHandlerFrame]]
clr!FinalizerThread::FinalizerThreadStart+10a
clr!Thread::intermediateThreadProc+86
kernel32!BaseThreadInitThunk+14
ntdll!RtlUserThreadStart+21

有什么想法吗?

0 个答案:

没有答案