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



The information in this article applies to:

  • Microsoft COM+

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 "Applies to" section.

MORE INFORMATION

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

Modification Type:MajorLast Reviewed:6/9/2006
Keywords:kbBug kbtshoot kbprb KB918326 kbAudDeveloper kbAudITPRO