Memory leak in the Microsoft.Exchange.Monitoring.exe process when you run the Test-OwaConnectivity cmdlet or the Test-ActiveSyncConnectivity cmdlet in Exchange Management Shell on an Exchange Server 2007 server


Symptoms


You can run the Test-OwaConnectivity cmdlet and the Test-ActiveSyncConnectivity cmdlet in Exchange Management Shell on a Microsoft Exchange Server 2007 server. However, this operation may cause a memory leak in the Microsoft.Exchange.Monitoring.exe process if the connections time out. Additionally, the Exchange Server 2007 server meets multiple issues, such as has a slow response.

Note You can check the Virtual Bytes counter of the Microsoft.Exchange.Monitoring.exe process in Performance Monitor. The Virtual Bytes counter increases to 1 GB or bigger.

Cause


This problem occurs because an asynchronous HTTP Request is called by the httpWebRequest.BeginGetResponse() method in the Test-OwaConnectivity cmdlet and in the Test-ActiveSyncConnectivity cmdlet. However, if the connections time out, the httpWebRequest.EndGetResponse() method does not call to release memory. Therefore, a memory leak occurs.

Resolution


To resolve this problem, install the following update rollup:
2279665 Description of Update Rollup 1 for Exchange Server 2007 Service Pack 3

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 Test-OwaConnectivity cmdlet, visit the following Microsoft website:For more information about the Test-ActiveSyncConnectivity cmdlet, visit the following Microsoft website:For more information about the HttpWebRequest methods, visit the following Microsoft website: