{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/49","labels_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/49/comments","events_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/49/events","html_url":"https://github.com/OfficeDev/Office-365-SDK-for-iOS/issues/49","id":56684712,"number":49,"title":"Run into an OOM","user":{"login":"Kammy6679","id":10860444,"avatar_url":"https://avatars.githubusercontent.com/u/10860444?v=3","gravatar_id":"","url":"https://api.github.com/users/Kammy6679","html_url":"https://github.com/Kammy6679","followers_url":"https://api.github.com/users/Kammy6679/followers","following_url":"https://api.github.com/users/Kammy6679/following{/other_user}","gists_url":"https://api.github.com/users/Kammy6679/gists{/gist_id}","starred_url":"https://api.github.com/users/Kammy6679/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kammy6679/subscriptions","organizations_url":"https://api.github.com/users/Kammy6679/orgs","repos_url":"https://api.github.com/users/Kammy6679/repos","events_url":"https://api.github.com/users/Kammy6679/events{/privacy}","received_events_url":"https://api.github.com/users/Kammy6679/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-05T15:29:58Z","updated_at":"2015-05-22T14:52:52Z","closed_at":"2015-05-22T14:52:52Z","body":"Using the Office 365 SDK for Android and Office 365 SDK for iOS, we plan to access the OneDrive Business and stored data in our product.\r\n \r\nWe find that: our app runs into an OOM when using Office 365 SDK to upload/download a large file(about 30M or more). Do you have any suggestion for this issue?\r\n \r\nHere is our download code:\r\nSharePointClient client = ODB_Manager.getInstance().getFileClient();\r\nListenableFuture<byte[]> future = client.getfiles().getById(id).asFile().addHeader(\"if-none-match\", eTag).getContent();\r\n \r\nHere is our upload code:\r\nListenableFuture<Void> future = client.getfiles().getById(item.getid()).asFile().putContent(result);\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/comments/104680475","html_url":"https://github.com/OfficeDev/Office-365-SDK-for-iOS/issues/49#issuecomment-104680475","issue_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/49","id":104680475,"user":{"login":"joshgav","id":4421720,"avatar_url":"https://avatars.githubusercontent.com/u/4421720?v=3","gravatar_id":"","url":"https://api.github.com/users/joshgav","html_url":"https://github.com/joshgav","followers_url":"https://api.github.com/users/joshgav/followers","following_url":"https://api.github.com/users/joshgav/following{/other_user}","gists_url":"https://api.github.com/users/joshgav/gists{/gist_id}","starred_url":"https://api.github.com/users/joshgav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshgav/subscriptions","organizations_url":"https://api.github.com/users/joshgav/orgs","repos_url":"https://api.github.com/users/joshgav/repos","events_url":"https://api.github.com/users/joshgav/events{/privacy}","received_events_url":"https://api.github.com/users/joshgav/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T14:52:52Z","updated_at":"2015-05-22T14:52:52Z","body":"This was addressed with support for streaming uploads and downloads in 0.8+"}}