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.

MSExchangeRepl.exe process terminates when you try to replay more than 1,000 transaction logs in Exchange Server 2013


View products that this article applies to.

Symptoms

When you perform a database recovery in Microsoft Exchange Server 2013, and you try to replay more than 1,000 transaction log files, the Microsoft Exchange Replication service terminates unexpectedly. When this problem occurs, the event ID 4399 and event ID 4999 are logged in the Application log as follows:


Log Name: Application
Source: MSExchangeRepl
Event ID: 4399
Task Category: Service
Level: Error
Keywords: Classic
User: N/A
Description: The Microsoft Exchange Replication service is terminating without collecting a Watson dump.
Error The Microsoft Exchange Replication service is using too much memory (2279.62109375 MiB) and will be
terminated without collecting a Watson dump. This exceeds the maximum expected value of 2048 MiB. To take
a dump along with the Watson report, set registry key 'SOFTWARE\Microsoft\ExchangeServer\v15
\Replay\Parameters\EnableWatsonDumpOnTooMuchMemory' to 1. Default can be overridden by setting registry key
SOFTWARE\Microsoft\ExchangeServer\v15\Replay\Parameters\MaximumProcessPrivateMemoryMB.

Log Name: Application
Source: MSExchange Common
Event ID: 4999
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Description: Watson report about to be sent for process id: 2524, with parameters: E12, c-RTL-AMD64,
15.00.0620.029, msexchangerepl, unknown, unknown, M.E.C.Replay.ReplayServiceTooMuchMemoryNoDumpException,
0, unknown.
ErrorReportingEnabled: True

↑ Back to the top


Cause

This problem may occur because the replication service has a default limit of 2 gigabytes (GB) of memory. When this limit is reached, the process terminates.

↑ Back to the top


Workaround

To work around this problem, add the following registry subkey, and then add the specified values to the new subkey:

SOFTWARE\Microsoft\ExchangeServer\v15\Replay\Parameters\
dword: MaximumProcessPrivateMemoryMB
Value: 8192
Base: Decimal

dword: MemoryLimitBaseInMB
Value: 4096
Base: decimal

↑ Back to the top


Status

This problem is scheduled be resolved in a future cumulative update for Exchange 2013.

↑ Back to the top


Keywords: kbqfe, kbfix, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 2892330
Revision : 1
Created on : 1/7/2017
Published on : 10/1/2013
Exists online : False
Views : 315