I have been looking at the memory usage of my app, and I discovered this situation:
- I reset content and settings in the simulator to see what happens when someone first opens the app on a new device
- 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