{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8511","labels_url":"https://api.github.com/repos/apache/spark/issues/8511/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8511/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8511/events","html_url":"https://github.com/apache/spark/pull/8511","id":103793999,"number":8511,"title":"[SPARK-10341] [SQL] fix memory starving in unsafe SMJ","user":{"login":"davies","id":40902,"avatar_url":"https://avatars.githubusercontent.com/u/40902?v=3","gravatar_id":"","url":"https://api.github.com/users/davies","html_url":"https://github.com/davies","followers_url":"https://api.github.com/users/davies/followers","following_url":"https://api.github.com/users/davies/following{/other_user}","gists_url":"https://api.github.com/users/davies/gists{/gist_id}","starred_url":"https://api.github.com/users/davies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davies/subscriptions","organizations_url":"https://api.github.com/users/davies/orgs","repos_url":"https://api.github.com/users/davies/repos","events_url":"https://api.github.com/users/davies/events{/privacy}","received_events_url":"https://api.github.com/users/davies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-28T20:53:52Z","updated_at":"2015-08-30T17:07:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8511","html_url":"https://github.com/apache/spark/pull/8511","diff_url":"https://github.com/apache/spark/pull/8511.diff","patch_url":"https://github.com/apache/spark/pull/8511.patch"},"body":"In SMJ, the first ExternalSorter could consume all the memory before spilling, then the second can not even acquire the first page.\r\n\r\nBefore we have a better memory allocator, SMJ should call prepare() before call any compute() of it's children.\r\n\r\ncc @rxin @JoshRosen "},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/136160653","html_url":"https://github.com/apache/spark/pull/8511#issuecomment-136160653","issue_url":"https://api.github.com/repos/apache/spark/issues/8511","id":136160653,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T17:07:05Z","updated_at":"2015-08-30T17:07:05Z","body":"Merged build started."}}