{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/issues/718","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/issues/718/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/issues/718/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/issues/718/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-ruby/issues/718","id":157770662,"number":718,"title":"downloading large file: failed to allocate memory (NoMemoryError)","user":{"login":"Aguasvivas22","id":1167465,"avatar_url":"https://avatars.githubusercontent.com/u/1167465?v=3","gravatar_id":"","url":"https://api.github.com/users/Aguasvivas22","html_url":"https://github.com/Aguasvivas22","followers_url":"https://api.github.com/users/Aguasvivas22/followers","following_url":"https://api.github.com/users/Aguasvivas22/following{/other_user}","gists_url":"https://api.github.com/users/Aguasvivas22/gists{/gist_id}","starred_url":"https://api.github.com/users/Aguasvivas22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aguasvivas22/subscriptions","organizations_url":"https://api.github.com/users/Aguasvivas22/orgs","repos_url":"https://api.github.com/users/Aguasvivas22/repos","events_url":"https://api.github.com/users/Aguasvivas22/events{/privacy}","received_events_url":"https://api.github.com/users/Aguasvivas22/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/labels/storage","name":"storage","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-31T21:06:01Z","updated_at":"2016-06-01T17:57:15Z","closed_at":"2016-06-01T15:16:51Z","body":"Simple script to download file:\r\n```\r\nrequire 'gcloud'\r\n\r\ngcloud = Gcloud.new \"my-bucket\"\r\nstorage = gcloud.storage\r\n\r\nbucket = storage.bucket \"my-bucket\"\r\nfile = bucket.file \"myfile.zip\"\r\nfile.download \"/tmp/myfile.zip\"\r\n```\r\n\r\nWhen downloading 1.8GB file:\r\n\r\n```\r\n/opt/lang/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/gcloud-0.10.0/lib/gcloud/storage/file/**verifier.rb:55:in `read': failed to allocate memory (NoMemoryError)**\r\n\tfrom /opt/lang/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/gcloud-0.10.0/lib/gcloud/storage/file/verifier.rb:55:in `block in md5_for'\r\n\tfrom /opt/lang/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/gcloud-0.10.0/lib/gcloud/storage/file/verifier.rb:54:in `open'\r\n\tfrom /opt/lang/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/gcloud-0.10.0/lib/gcloud/storage/file/verifier.rb:54:in `md5_for'\r\n\tfrom /opt/lang/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/gcloud-0.10.0/lib/gcloud/storage/file/verifier.rb:31:in `verify_md5!'\r\n\tfrom /opt/lang/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/gcloud-0.10.0/lib/gcloud/storage/file.rb:688:in `verify_file!'\r\n\tfrom /opt/lang/ruby-2.2.4/lib/ruby/gems/2.2.0/gems/gcloud-0.10.0/lib/gcloud/storage/file.rb:353:in `download'\r\n\tfrom pull.rb:11:in `<main>'\r\n```\r\n\r\nIf I change 'verify' to 'none', I don't encounter this error.\r\n\r\nfree mem + cached > 3GB\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/issues/comments/223074085","html_url":"https://github.com/GoogleCloudPlatform/gcloud-ruby/issues/718#issuecomment-223074085","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-ruby/issues/718","id":223074085,"user":{"login":"Aguasvivas22","id":1167465,"avatar_url":"https://avatars.githubusercontent.com/u/1167465?v=3","gravatar_id":"","url":"https://api.github.com/users/Aguasvivas22","html_url":"https://github.com/Aguasvivas22","followers_url":"https://api.github.com/users/Aguasvivas22/followers","following_url":"https://api.github.com/users/Aguasvivas22/following{/other_user}","gists_url":"https://api.github.com/users/Aguasvivas22/gists{/gist_id}","starred_url":"https://api.github.com/users/Aguasvivas22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aguasvivas22/subscriptions","organizations_url":"https://api.github.com/users/Aguasvivas22/orgs","repos_url":"https://api.github.com/users/Aguasvivas22/repos","events_url":"https://api.github.com/users/Aguasvivas22/events{/privacy}","received_events_url":"https://api.github.com/users/Aguasvivas22/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T17:57:15Z","updated_at":"2016-06-01T17:57:15Z","body":"Awesome.\r\n\r\nThanks, @quartzmo!"}}
{"actor":{"display_login":"Aguasvivas22"}}