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

Article translations Article translations
Article ID: 969943 - View products that this article applies to.
Expand all | Collapse all

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.

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.

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:
Description of Update Rollup 9 for Exchange Server 2007 Service Pack 1
For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007

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

STATUS

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

Properties

Article ID: 969943 - Last Review: July 17, 2009 - Revision: 1.1
APPLIES TO
  • Microsoft Exchange Server 2007 Service Pack 1, when used with:
    • Microsoft Exchange Server 2007 Enterprise Edition
    • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbsurveynew kbexpertiseinter kbfix kbqfe KB969943

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com