Microsoft KB Archive/943058

= The CPU on a computer that is running the NET Framework 2.0 consumes excessive system resources when you marshal an object array across a domain boundary =

Article ID: 943058

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft .NET Framework 2.0

-



SYMPTOMS
Consider the following scenario:
 * You have a computer that is running the Microsoft .NET Framework 2.0.
 * An object graph of more than 40 objects is passed to or from a cross-domain remoting call.

In this scenario, the computer's CPU consumes excessive system resources. Additionally, the remoting application may stop responding if the CPU continues to consume excessive system resources for several minutes.



RESOLUTION
To resolve this problem, use one of the following methods:
 * Pass objects in smaller chunks across the AppDomain barrier.
 * Use the COMPlus_UseNewCrossDomainRemoting environment variable, and set the variable to zero.

Note This method may adversely affect system performance.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kbprb KB943058

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.