In my project I need replicate big database. It contains about 2 * 10^5 
documents.
I use ForestDB as database storage 
(7949e8d59b9b30f7711be47a121dfbda9c82f2a8).  
At first I pull the database. After successfull pull I start a push 
replication.
On this step I get a crash - memory limit. 
I profile the app and discover that push replication save all revision in 
RAM.
This logic places in CBL_ForestDBStorage.mm file in changesSinceSequence 
method. The method create an array of all changes.
Also I don't have this error when I use SQLite database storage.
It is possible to change push logic without necessary to save all revisions 
in RAM?

-- 
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/9f747be4-7ae2-4dc6-bfb1-f168668bb5a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to