> On Jun 8, 2015, at 6:46 AM, Rustam Yuzmukhametov <[email protected]> > wrote: > > This logic places in CBL_ForestDBStorage.mm file in changesSinceSequence > method. The method create an array of all changes.
It returns an array of CBL_Revision. When the replicator calls that method it asks for only the docID and revID, not the body, so each object will be very small (maybe 150 bytes.) CBL_SQLiteStorage has exactly the same method (it’s from a protocol they both implement) so it also returns the same type of array. So I don’t think this itself is the issue. There may be a memory leak in the ForestDB code, or a missing @autoreleasepool inside a loop. Have you tried running in Instruments with the Leaks instrument? (And could you file a bug report, please? Thanks!) —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/BA666576-854F-4935-A31C-331465F2CC5A%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
