Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Memory leaks occur in the Powershell.exe process when you run the Get-MailboxStatistics command and the Get-PublicFolderStatistics command in Exchange Server 2007 Service Pack 1


View products that this article applies to.

Symptoms

Memory leaks occur in the Powershell.exe process when you run the Get-MailboxStatistics command and the Get-PublicFolderStatistics command on an Exchange Server 2007 Service Pack 1 (SP1)-based server. Generally, this problem occurs when you run those commands in a script continually.

Note When a memory leak occurs, you can check the Private Bytes counter of the Powershell.exe process in the Performance Monitor tool to find the memory leak.

↑ Back to the top


Cause

This issue occurs because a MAPI session object is created and cannot be disposed of when you run the Get-MailboxStatistics command and the Get-PublicFolderStatistics command.

↑ Back to the top


Resolution

To resolve this problem, install Update Rollup 9 for Exchange 2007 Service Pack 1. For more information about Update Rollup 9 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic: For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:

↑ Back to the top


More information

For more information about the Get-PublicFolderStatistics command, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/aa998663.aspx
For more information about the Get-MailboxStatistics command, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/bb124612.aspx

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: KB969943, kbqfe, kbfix, kbexpertiseinter, kbsurveynew

↑ Back to the top

Article Info
Article ID : 969943
Revision : 2
Created on : 7/17/2009
Published on : 7/17/2009
Exists online : False
Views : 312