This is a mirror of official site: http://jasper-net.blogspot.com/

A .NET Framework 2.0-based Multi-AppDomain application stops responding when you run the application

| Sunday, March 7, 2010
You have a Microsoft .NET Framework 2.0-based Multi-AppDomain application. When you run the application, an infinite loop occurs in the common language runtime (CLR) worker threads. Then, the application stops responding. Additionally, the memory usage of the operating system increases significantly.

Note This symptom occurs for various reasons. The hotfix in this article only resolves this problem for the cause described in the "Cause" section.

CAUSE

This problem occurs because an application domain cannot unload successfully. The CLR does not report this failure to the thread pool where the worker threads are running. Therefore, the thread pool waits indefinitely for the result of the unload operation instead of handling work that is queued by the application domain.

Note Typically, an application domain cannot unload successfully because of a time out.

RESOLUTION

Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

Read more: KB Alretz

Posted via email from jasper22's posterous

0 comments: