I am using CB Lite 1.3.1 on Android in a Xamarin-based application. The application logs about 1 small data item per second into Couchbase. It also updates a few documents about once per second.
I am using SQLite as a storage engine for CBLite. I am using Sync Gateway to replicate the database to Couchbase Server.
When the local database reaches a size of 100K-200K docs (100-200 MBytes) the push replication fails to start. I am using a non-continuous push replication. Its Status property is ‘Active’, IsRunning is true, ChangesCount is 0, CompletedChangesCount is 0.
For this replication the Sync Gateway log shows no activity. So it seems that the pusher doesn’t even get as far as connecting to the gateway.
I sometimes see the process appear to hang during a bulk docs upload because nothing will be logged when the data is in the process of being transmitted. Unless I goofed the math it appears your documents are 1 MB on average? Couchbase Lite will transmit them in batches of 50, and 50 MB can take a while to upload depending on your connection. If that is the case then the last thing you should see in the sync gateway logs from that client is a request to _bulk_docs. Can you show the sync gateway output, and the logs from couchbase lite as well (they will be logged to logcat under the mono-stdout tag).
That’s what I get for doing math first thing in the morning…
It might be better if you file this as an issue on the repo. It’s going to be hard for me to reproduce because I don’t have a 200 MB database lying around but I’ll see what I can find.