Okay, I've created a test app with just the couchbase cocoapod and the 
classes I use to manage replication.  I am still seeing consistent memory 
growth during my initial pull of data.  I am checking with my team about 
whether I can give you an app with the username/password for our data in 
it, but once that is straightened out, I can give you the test app if you 
want it.  I am seeing the attached heaviest stack trace in Instruments. 
 Let me know if there is anything else I can do, we want to start using 
this in our production code very soon!

Thanks,

Jordan


On Thursday, December 31, 2015 at 9:50:12 AM UTC-6, Jordan Wood wrote:
>
> I have been looking at the memory usage of my app, and I discovered this 
> situation:
>
>    1. I reset content and settings in the simulator to see what happens 
>    when someone first opens the app on a new device
>    2. I start the app, and just sit there doing nothing except 
>    replicating a DB with many thousands of small documents that are pulled 
>    from the server
>
> The attached picture shows what I'm seeing in Xcode, which is a pretty 
> impressive, steady increase in memory usage as the DB is pulled from the 
> server.  I ended up at 565 MB.  When the replication stopped, my memory 
> usage stopped increasing.
>
> My logs are showing no activity other than couchbase pull replication 
> activity, and since I am starting with a completely clean and new app, I am 
> pretty confident that I am doing no other processing at this time in the 
> app.
>
> Do you know what could be causing this memory growth, and what next steps 
> would you like me to take?  I can run this in instruments, but I'm a bit of 
> a NOOB when it comes to interpreting the results.
>
> Thanks for the help!
>
> Jordan
>

-- 
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/e1090fe7-48f5-4faf-9d98-bc686f5bf3fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to