{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/141","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/141/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/141/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/141","id":103963382,"number":141,"title":"PFKeyValueCache causing app to be killed because out of memory.","user":{"login":"ghugues","id":1956474,"avatar_url":"https://avatars.githubusercontent.com/u/1956474?v=3","gravatar_id":"","url":"https://api.github.com/users/ghugues","html_url":"https://github.com/ghugues","followers_url":"https://api.github.com/users/ghugues/followers","following_url":"https://api.github.com/users/ghugues/following{/other_user}","gists_url":"https://api.github.com/users/ghugues/gists{/gist_id}","starred_url":"https://api.github.com/users/ghugues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghugues/subscriptions","organizations_url":"https://api.github.com/users/ghugues/orgs","repos_url":"https://api.github.com/users/ghugues/repos","events_url":"https://api.github.com/users/ghugues/events{/privacy}","received_events_url":"https://api.github.com/users/ghugues/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/labels/needs%20investigation","name":"needs investigation","color":"ffeea9"},{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/labels/needs%20more%20info","name":"needs more info","color":"ffd182"}],"state":"open","locked":false,"assignee":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-30T23:42:22Z","updated_at":"2015-08-30T23:54:02Z","closed_at":null,"body":"If many cached queries are made, my app spends an incredible amount of time in `-[PFKeyValueCache _compactDiskCache]`. Sometimes between 30s and 1min, and during that time the cpu is running at 100% (out of the 200% available with the 2 cores).\r\n\r\nAlso memory usage grows really fast during that time (I have yet to determine what is the cause of this). I just ran a test on an iphone 5 with iOS 7, the app quickly reaches about 600Mb and then gets killed by the system (after receiving several memory warnings).\r\n\r\nI will look into it more deeply and provide more details and hopefully a way to reproduce. It might take few days since I will be working on an other project this week, but I wanted to report this as soon a possible."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/comments/136218028","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/141#issuecomment-136218028","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/141","id":136218028,"user":{"login":"parse-github-bot","id":13906986,"avatar_url":"https://avatars.githubusercontent.com/u/13906986?v=3","gravatar_id":"","url":"https://api.github.com/users/parse-github-bot","html_url":"https://github.com/parse-github-bot","followers_url":"https://api.github.com/users/parse-github-bot/followers","following_url":"https://api.github.com/users/parse-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/parse-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/parse-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parse-github-bot/subscriptions","organizations_url":"https://api.github.com/users/parse-github-bot/orgs","repos_url":"https://api.github.com/users/parse-github-bot/repos","events_url":"https://api.github.com/users/parse-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/parse-github-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T23:54:02Z","updated_at":"2015-08-30T23:54:02Z","body":"Thank you for your feedback.  We prioritize issues that have clear and concise repro steps.  Please see our [Bug Reporting Guidelines] (../blob/master/CONTRIBUTING.md#bugs) about what information should be added to this issue.<br /><br />Please try the latest SDK. Our [release notes](../releases) have details about what issues were fixed in each release.<br /><br />In addition, you might find the following resources helpful:<ul><li>Documentation: https://www.parse.com/docs</li><li>Google Groups: https://groups.google.com/forum/#!forum/parse-developers</li><li>Stack Overflow: http://stackoverflow.com/tags/parse.com</li></ul>"}}