Hello,
I've got a request to set up Merge replication using Web Sync. The problem I'm having is a required table is too large and the snapshot agent creates a massive 8GB bcp file it wants to use to populate the largest table. Unfortunately, there seems to be a memory leak issue with the web service as it chokes on this file and runs out of memory (server has 32GB of RAM) before it can finish transferring files to the Merge subscriber. I've yet to contact Microsoft regarding this but plan on doing so soon. However, for now I need a solution for the client.
Initializing from backup is out for a number of reasons, including Microsoft's notice they don't want to support this for much longer.
I need some way to get this bcp file pushed over to the subscriber. Either I need to find some way for SQL to break it up in chunks (which as far as I know it will not do) or remove it from the snapshot directory, push the snapshot through without the file, then manually do the bulk import on the customer's side after I download the 8GB bcp file.
My question is this: is it possible to get SQL to break up the bcp files in to smaller chunks so I can transfer via web service? Or what issues might I encounter by trying to omit the .bcp file from the snapshot directory, and how would I work around them?
Any help is greatly appreciated!
SQL Server version: SQL 2012 Enterprise w/ SP2.