Article ID: 936891 - View products that this article applies to.
Bug #: 50001170 (SQL Hotfix)
Bug #: 507984 (SQLBUDT)
When the Merge Replication Agent retries a connection in Microsoft SQL Server 2005, a memory leak may occur. This problem occurs only when the Merge Replication Agent is running continuously.
This problem occurs because the logic is incorrect when the Merge Replication Agent retries a connection. New threads are created when the Merge Replication Agent retries a connection. However, these threads are not destroyed correctly. This causes the memory leak.
To work around this problem, use one of the following methods:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
When this problem occurs, you will notice an increase of the thread count for the Merge Replication Agent in Task Manager. The rate of the increase may vary depending on the polling interval that you specified for the Merge Replication Agent.
Article ID: 936891 - Last Review: November 20, 2007 - Revision: 1.1
Contact us for more help