I’m working on an iOS app with CB Lite 2.6.1. Testing pull replication of a fairly large set of small documents from sync gateway in the simulator I had no problem - it replicated all 700K documents fairly quickly. Going to my iPhone 7 test device, it works fine until it hits about the 350K document mark, then starts getting connection timeouts and eventually stalls out completely, stuck in the connecting state. I’m unable to replicate beyond 429K documents.
While this is happening, any other activity on the database, such as queries, saving or fetching a document, essentially hang, taking 60+ sec to complete, if at all.
CPU is only at about 45%. Memory usage fluctuates between 80MB-120MB, disk is around 100 MB/s. Any idea what’s going on here?