> On Jan 2, 2018, at 1:14 PM, Adam Wilson <[email protected]> wrote:
> 
> Good to know. The issue I have is that the UI is getting blocked during very 
> large replications (iOS). 30,000 documents each with a small binary 
> attachment. The UI freezes/slows even on the simulator. Is there a way around 
> this? Can the replication run on a lower priority thread? 

The problem is probably that you have database observers registered that are 
firing for every document received, and the observers are doing something 
expensive enough to cause trouble. Try using Instruments to profile the app.

—Jens

Jens Alfke — Mobile Architect — Couchbase, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/E7D9D692-CF38-460F-9C3C-B94404DBF430%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to