{"action":"opened","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/701","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/701/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/701/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/701","id":76296191,"number":701,"title":"Couchbase lite iOS memory consumption indexing views","user":{"login":"opicciotto","id":1043988,"avatar_url":"https://avatars.githubusercontent.com/u/1043988?v=3","gravatar_id":"","url":"https://api.github.com/users/opicciotto","html_url":"https://github.com/opicciotto","followers_url":"https://api.github.com/users/opicciotto/followers","following_url":"https://api.github.com/users/opicciotto/following{/other_user}","gists_url":"https://api.github.com/users/opicciotto/gists{/gist_id}","starred_url":"https://api.github.com/users/opicciotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opicciotto/subscriptions","organizations_url":"https://api.github.com/users/opicciotto/orgs","repos_url":"https://api.github.com/users/opicciotto/repos","events_url":"https://api.github.com/users/opicciotto/events{/privacy}","received_events_url":"https://api.github.com/users/opicciotto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-14T09:22:50Z","updated_at":"2015-05-14T09:22:50Z","closed_at":null,"body":"We have  reproducible case for crashing CBL iOS with a 13K document database.\r\nThis app is a standard PhoneGap app using the CBL plugin 1.04; We made it the simplest possible to be sure no other component was interfering with memory consumption.\r\nYou can download it from here :\r\n\r\nhttp://d2lm6861ur7e1f.cloudfront.net/webrepository/DebugMemory.zip\r\n\r\nThis a a cordova /phone app you can use to build with Phonegap Build or locally. The app will connect to a cloud based CouchDB server .\r\n\r\nYou can use the \"Sync\" button to trigger the sync downloading all the database to the mobile. Then you can use the \"View\" button to launch a query on the database using the javascript view. The view will start indexing and the app crashes about 10 to 15 secs later.\r\n\r\nThis has been tested on an iPad mini iOS8.1 and an iPhone 4 iOS 8.1\r\n"}}