Microsoft KB Archive/918326

= The handle count for the COM+ Event System process may grow and eventually exhaust the virtual memory =

Article ID: 918326

Article Last Modified on 1/12/2007

-

APPLIES TO


 * Microsoft COM+ 2.0 Standard Edition

-





SYMPTOMS
The handle count for the Microsoft COM+ Event System process may grow and eventually exhaust the virtual memory. This problem can occur when a COM+ library application is started in a short-lived process and the process is started repeatedly.



CAUSE
This problem occurs because registry and token handles are created when a COM+ subscription is created in the COM+ Event System. The handles are not closed when the process exists if the COM+ application has a library activation type.



RESOLUTION
To resolve this problem, change the activation type of the COM+ application from library application to server application. To do this, follow these steps:
 * 1) Open the Component Services Microsoft Management Console (MMC) snap-in.
 * 2) Expand Component Services, expand Computers, expand My Computer, and then click COM + Applications.
 * 3) Right-click the COM+ application that you want to modify, and then click Properties.
 * 4) Click the Activation tab, click Server application, and then click OK.



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



MORE INFORMATION
For more information about the COM+ Event System, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-gb/library/ms683603.aspx

Additional query words: COM+

Keywords: kbbug kbtshoot kbprb KB918326

-

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

© Microsoft Corporation. All rights reserved.