{"action":"created","issue":{"url":"https://api.github.com/repos/snoplus/orca/issues/6","labels_url":"https://api.github.com/repos/snoplus/orca/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/snoplus/orca/issues/6/comments","events_url":"https://api.github.com/repos/snoplus/orca/issues/6/events","html_url":"https://github.com/snoplus/orca/pull/6","id":116112293,"number":6,"title":"Fixed memory leaks pointed out by Mark Howe","user":{"login":"EdLeming","id":3942705,"avatar_url":"https://avatars.githubusercontent.com/u/3942705?v=3","gravatar_id":"","url":"https://api.github.com/users/EdLeming","html_url":"https://github.com/EdLeming","followers_url":"https://api.github.com/users/EdLeming/followers","following_url":"https://api.github.com/users/EdLeming/following{/other_user}","gists_url":"https://api.github.com/users/EdLeming/gists{/gist_id}","starred_url":"https://api.github.com/users/EdLeming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdLeming/subscriptions","organizations_url":"https://api.github.com/users/EdLeming/orgs","repos_url":"https://api.github.com/users/EdLeming/repos","events_url":"https://api.github.com/users/EdLeming/events{/privacy}","received_events_url":"https://api.github.com/users/EdLeming/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-10T14:03:39Z","updated_at":"2015-11-18T14:48:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/snoplus/orca/pulls/6","html_url":"https://github.com/snoplus/orca/pull/6","diff_url":"https://github.com/snoplus/orca/pull/6.diff","patch_url":"https://github.com/snoplus/orca/pull/6.patch"},"body":"You'll notice a couple of edited lines where I've commented out autorelease pools where I don't think they're necessary, if possible it would be good to get some feedback on if this is correct. As far as I understand they're only best practice if you're creating a load of objects in a loop, or when you spawn a thread. "},"comment":{"url":"https://api.github.com/repos/snoplus/orca/issues/comments/157737006","html_url":"https://github.com/snoplus/orca/pull/6#issuecomment-157737006","issue_url":"https://api.github.com/repos/snoplus/orca/issues/6","id":157737006,"user":{"login":"EdLeming","id":3942705,"avatar_url":"https://avatars.githubusercontent.com/u/3942705?v=3","gravatar_id":"","url":"https://api.github.com/users/EdLeming","html_url":"https://github.com/EdLeming","followers_url":"https://api.github.com/users/EdLeming/followers","following_url":"https://api.github.com/users/EdLeming/following{/other_user}","gists_url":"https://api.github.com/users/EdLeming/gists{/gist_id}","starred_url":"https://api.github.com/users/EdLeming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdLeming/subscriptions","organizations_url":"https://api.github.com/users/EdLeming/orgs","repos_url":"https://api.github.com/users/EdLeming/repos","events_url":"https://api.github.com/users/EdLeming/events{/privacy}","received_events_url":"https://api.github.com/users/EdLeming/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T14:48:31Z","updated_at":"2015-11-18T14:48:31Z","body":"I've removed the NSAutoreleasePool's. As a result I've updated the associated dictionary instances to be instantiated with dictionaryWithCapacity, rather than initWithCapacity. This way I believe they are only released when all objects drop their reference to it - this may be a misunderstanding on my part? \r\n\r\nRe: Blocking : There doesn't seem to be a non-queuing option in the current ORCouchDB.m, I think we'd have to update it?"}}