Hi,
I have 12GB table with 46M records in it. My server has 16GB of memory. Im using Merge replications with dinamic filtering. Whenever replications try to replicate this table I get:
The instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users. Ask the database administrator to check the lock and memory configuration for this instance, or to check for long-running transactions. (Source: MSSQLServer, Error number: 1204)
"SELECT COUNT(*) FROM sys.dm_tran_locks" returns around 8,5M LOCKS at the point where the replication fails.
I assume that 16GB is not enough for this operation, which I could understand... However is there a workaround on how I could replicate in smaller batches by manipulating some replication parameters, or any other way? I really need to replicate this table without upgrading RAM.