{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/11702","labels_url":"https://api.github.com/repos/ansible/ansible/issues/11702/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/11702/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/11702/events","html_url":"https://github.com/ansible/ansible/issues/11702","id":96748076,"number":11702,"title":"Get MemoryError when fetching large file","user":{"login":"vincentsmh","id":1802119,"avatar_url":"https://avatars.githubusercontent.com/u/1802119?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentsmh","html_url":"https://github.com/vincentsmh","followers_url":"https://api.github.com/users/vincentsmh/followers","following_url":"https://api.github.com/users/vincentsmh/following{/other_user}","gists_url":"https://api.github.com/users/vincentsmh/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentsmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentsmh/subscriptions","organizations_url":"https://api.github.com/users/vincentsmh/orgs","repos_url":"https://api.github.com/users/vincentsmh/repos","events_url":"https://api.github.com/users/vincentsmh/events{/privacy}","received_events_url":"https://api.github.com/users/vincentsmh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-23T07:08:01Z","updated_at":"2015-07-23T11:39:37Z","closed_at":"2015-07-23T11:39:37Z","body":"I always get the following error message when trying to fetch a about 2GB file.\r\n\r\nfatal: [x.x.x.x] => failed to parse: \r\nSUDO-SUCCESS-cfbftfjqyemugnxnudmbnfkjbidswsqm\r\nTraceback (most recent call last):\r\n  File \"/home/xxx/.ansible/tmp/ansible-tmp-1437624645.89-38788504027242/slurp\", line 1167, in <module>\r\n    main()\r\n  File \"/home/xxx/.ansible/tmp/ansible-tmp-1437624645.89-38788504027242/slurp\", line 67, in main\r\n    data = base64.b64encode(file(source).read())\r\n  File \"/usr/lib/python2.7/base64.py\", line 53, in b64encode\r\n    encoded = binascii.b2a_base64(s)[:-1]\r\nMemoryError\r\n"}}