So a good approach would be (On log-in): 

1. Sync all data (replicator ON)
2. Run al "preload" queries (replicator OFF)
3. Enable replicator again.

This assuming replications with massive queries (100+) would affect 
concurrency on SQLite backend.

Also note that the app runs well without connecting to Xcode, but only 
Retina (mini) will load attached to xcode (and with less footprint -80MB- 
than mini 1st gen -250MB+)

The "limit=1" didn't made any impact in memory consumption. 

El martes, 19 de agosto de 2014 13:09:32 UTC-5, Jens Alfke escribió:
>
>
> On Aug 19, 2014, at 10:54 AM, Frederic Yesid Peña Sánchez <
> [email protected] <javascript:>> wrote:
>
> As i told you, the same app on a iPad Mini Retina ran perfect and under 
> 70M memory consumption… 
>
>
> Same OS version? There's nothing Couchbase Lite would be doing differently 
> on different hardware. (Except for 32-bit vs 64-bit code; is the Mini 
> Retina a 64-bit CPU? But I'd think that 64-bit mode would use more memory, 
> not less.)
>
> You may need to troubleshoot using Instruments to find out what that 
> memory bloat consists of and who's allocating it.
>
> Does "runAsync" respect "limit=1" ??
>
>
> Yes, it returns the same results as running the query synchronously.
>
> —Jens
>

-- 
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/f098bace-3977-40a7-84b5-e746a6f3b192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to