Microsoft KB Archive/281396

= FIX: Memory Leak When You Use COM+ Queued Components =

Article ID: 281396

Article Last Modified on 9/19/2006

-

APPLIES TO


 * Microsoft COM+ 1.0, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q281396



SYMPTOMS
When you are using COM+ Queued Components, you may experience a memory leak in the queued COM+ application.



CAUSE
When one FORMAT Name replaces another, the memory for the previous FORMAT Name is not properly released.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

This fix is included with the fixes that are described in the following Microsoft Knowledge Base article:



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
This memory leak appears only under the following circumstances:
 * 1) Client is accessing COM+ component A, which is not queued.
 * 2) Component A then calls into a queued component B, which has a method that takes two BSTR parameters of type BSTR.
 * 3) Under stress, when DIRECT FORMAT NAME is used to instantiate component B, there is a memory leak of 128 bytes for each call.

Additional query words: kbIISCom

Keywords: kbbug kbfix kbwin2000presp2fix kbwin2000sp3fix KB281396

-

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

© Microsoft Corporation. All rights reserved.