Solved

Finalizer Thread Warnings

Posted on 2013-01-28
4
527 Views
Last Modified: 2013-03-01
Hello.
 
A couple times a day, I see this message from the Debug Diagnostic Tool that I have running on one of my IIS App Pools:
 
"Review the callstack for the Finalizer thread to see what the finalizer is blocked on. Long running code on a Finalizer thread can increase the number of objects ready for finalization and is bad for the overall memory consumption of the process"
 
Thread 11 - System ID 5288

Entry point
  0x00000000

Create time
  1/25/2013 10:42:39 AM

Time spent in user mode
  0 Days 00:00:00.811

Time spent in kernel mode
  0 Days 00:00:01.232
 

.NET Call Stack


Function
Full Call Stack

Function

ntdll!NtDelayExecution+15
KERNELBASE!SleepEx+65
clr!__DangerousSwitchToThread+48
clr!__SwitchToThread+12
clr!SVR::GCHeap::FinalizerThreadStart+282
clr!Thread::intermediateThreadProc+4b
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+70
ntdll!_RtlUserThreadStart+1b

Does anyone have any ideas what this means, if it is something I should worry about, and if it is, how to go about fixing it? Thanks!
0
Comment
Question by:infotechelg
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 38830694
In my humble opinion, I believe this to be a problem worth investigating.  This type of problem can cause memory leaks.  Are you working with COM objects (not a good idea in my opinion)?
0
 
LVL 16

Expert Comment

by:Easwaran Paramasivam
ID: 38830703
0
 

Author Comment

by:infotechelg
ID: 38903275
In my humble opinion, I believe this to be a problem worth investigating.  This type of problem can cause memory leaks.  Are you working with COM objects (not a good idea in my opinion)?

Sorry, TheLearnedOne. I don't know how I missed your post.

It's a little embarassing, but I'm not sure! I don't believe I am, but what are some common COM objects that people may use? I do access files on the network using System.IO, but I don't think that qualifies.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 38904841
The problem is that you don't really know unless you do some investigating.  A lot of the Visual Studio.NET IDE is COM, and you can see evidence in the framework if you use a tool like Reflector.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
website went down 6 35
IIS Server infected with Ransomware - Postmortem investigation 12 130
Split in Javascript 5 30
Vb. Net application freezes 9 28
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now