{"action":"opened","issue":{"url":"https://api.github.com/repos/pivotal-cf/pivnet-resource/issues/46","repository_url":"https://api.github.com/repos/pivotal-cf/pivnet-resource","labels_url":"https://api.github.com/repos/pivotal-cf/pivnet-resource/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/pivotal-cf/pivnet-resource/issues/46/comments","events_url":"https://api.github.com/repos/pivotal-cf/pivnet-resource/issues/46/events","html_url":"https://github.com/pivotal-cf/pivnet-resource/issues/46","id":188132782,"number":46,"title":"WHOA - OUT OF MEMORY","user":{"login":"zachgersh","id":689411,"avatar_url":"https://avatars.githubusercontent.com/u/689411?v=3","gravatar_id":"","url":"https://api.github.com/users/zachgersh","html_url":"https://github.com/zachgersh","followers_url":"https://api.github.com/users/zachgersh/followers","following_url":"https://api.github.com/users/zachgersh/following{/other_user}","gists_url":"https://api.github.com/users/zachgersh/gists{/gist_id}","starred_url":"https://api.github.com/users/zachgersh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachgersh/subscriptions","organizations_url":"https://api.github.com/users/zachgersh/orgs","repos_url":"https://api.github.com/users/zachgersh/repos","events_url":"https://api.github.com/users/zachgersh/events{/privacy}","received_events_url":"https://api.github.com/users/zachgersh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T23:30:33Z","updated_at":"2016-11-08T23:30:33Z","closed_at":null,"body":"soooooooo, ran out of memory today - trying to upload a release is not happy (this was after one initial failed upload).\r\n\r\nfully stack trace\r\n\r\n```\r\nfatal error: runtime: out of memory\r\n\r\nruntime stack:\r\nruntime.throw(0x6b1793, 0x16)\r\n\t/usr/local/go/src/runtime/panic.go:566 +0x95\r\nruntime.sysMap(0xc620500000, 0x200000000, 0x0, 0x7fd618)\r\n\t/usr/local/go/src/runtime/mem_linux.go:219 +0x1d0\r\nruntime.(*mheap).sysAlloc(0x7e4460, 0x200000000, 0x40df00)\r\n\t/usr/local/go/src/runtime/malloc.go:407 +0x37a\r\nruntime.(*mheap).grow(0x7e4460, 0x100000, 0x0)\r\n\t/usr/local/go/src/runtime/mheap.go:726 +0x62\r\nruntime.(*mheap).allocSpanLocked(0x7e4460, 0x100000, 0x4301bf)\r\n\t/usr/local/go/src/runtime/mheap.go:630 +0x4f2\r\nruntime.(*mheap).alloc_m(0x7e4460, 0x100000, 0x100000000, 0x2)\r\n\t/usr/local/go/src/runtime/mheap.go:515 +0xe0\r\nruntime.(*mheap).alloc.func1()\r\n\t/usr/local/go/src/runtime/mheap.go:579 +0x4b\r\nruntime.systemstack(0xc42002ded0)\r\n\t/usr/local/go/src/runtime/asm_amd64.s:314 +0xab\r\nruntime.(*mheap).alloc(0x7e4460, 0x100000, 0x10100000000, 0xc4200d4060)\r\n\t/usr/local/go/src/runtime/mheap.go:580 +0x73\r\nruntime.largeAlloc(0x1fffffe00, 0xc4200d4001, 0xc4201616e8)\r\n\t/usr/local/go/src/runtime/malloc.go:774 +0x93\r\nruntime.mallocgc.func1()\r\n\t/usr/local/go/src/runtime/malloc.go:669 +0x3e\r\nruntime.systemstack(0xc420015500)\r\n\t/usr/local/go/src/runtime/asm_amd64.s:298 +0x79\r\nruntime.mstart()\r\n\t/usr/local/go/src/runtime/proc.go:1079\r\n\r\ngoroutine 1 [running]:\r\nruntime.systemstack_switch()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:252 fp=0xc4201615f0 sp=0xc4201615e8\r\nruntime.mallocgc(0x1fffffe00, 0x64dac0, 0xc420161601, 0x44fed0)\r\n\t/usr/local/go/src/runtime/malloc.go:670 +0x903 fp=0xc420161690 sp=0xc4201615f0\r\nruntime.makeslice(0x64dac0, 0x1fffffe00, 0x1fffffe00, 0x0, 0x0, 0xc4202df8d0)\r\n\t/usr/local/go/src/runtime/slice.go:57 +0x7b fp=0xc4201616e8 sp=0xc420161690\r\nbytes.makeSlice(0x1fffffe00, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/bytes/buffer.go:198 +0x77 fp=0xc420161728 sp=0xc4201616e8\r\nbytes.(*Buffer).ReadFrom(0xc4201617c8, 0x7c0f40, 0xc4202df8c0, 0xc4204afa00, 0x0, 0x200)\r\n\t/usr/local/go/src/bytes/buffer.go:170 +0x2a9 fp=0xc420161798 sp=0xc420161728\r\nio/ioutil.readAll(0x7c0f40, 0xc4202df8c0, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/io/ioutil/ioutil.go:33 +0x147 fp=0xc420161848 sp=0xc420161798\r\nio/ioutil.ReadAll(0x7c0f40, 0xc4202df8c0, 0xc4202df8c0, 0x7c0f40, 0xc4202df8c0, 0x1, 0x0)\r\n\t/usr/local/go/src/io/ioutil/ioutil.go:42 +0x3e fp=0xc420161898 sp=0xc420161848\r\ngithub.com/pivotal-cf/pivnet-resource/vendor/github.com/pivotal-cf/go-pivnet.Client.MakeRequest(0xc4200134d0, 0x21, 0xc4200ac8e0, 0x14, 0xc42006c380, 0x7b, 0x7c2d80, 0xc4200ac980, 0x0, 0xc42000cdc0, ...)\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/vendor/github.com/pivotal-cf/go-pivnet/pivnet.go:205 +0x781 fp=0xc420161b60 sp=0xc420161898\r\ngithub.com/pivotal-cf/pivnet-resource/vendor/github.com/pivotal-cf/go-pivnet.ProductFilesService.DownloadForRelease(0xc4200134d0, 0x21, 0xc4200ac8e0, 0x14, 0xc42006c380, 0x7b, 0x7c2d80, 0xc4200ac980, 0x0, 0xc42000cdc0, ...)\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/vendor/github.com/pivotal-cf/go-pivnet/product_files.go:445 +0x33b fp=0xc420161ee0 sp=0xc420161b60\r\ngithub.com/pivotal-cf/pivnet-resource/gp.Client.DownloadProductFile(0xc4200134d0, 0x21, 0xc4200ac8e0, 0x14, 0xc42006c380, 0x7b, 0x7c2d80, 0xc4200ac980, 0x0, 0xc42000cdc0, ...)\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/gp/gp.go:116 +0xbf fp=0xc420161fc8 sp=0xc420161ee0\r\ngithub.com/pivotal-cf/pivnet-resource/gp.(*Client).DownloadProductFile(0xc42000d2c0, 0x7c1280, 0xc4200e6140, 0xc420011420, 0xf, 0xb10, 0x2371, 0x47d085, 0xc42000e8c0)\r\n\t<autogenerated>:19 +0xe9 fp=0xc4201620b0 sp=0xc420161fc8\r\ngithub.com/pivotal-cf/pivnet-resource/downloader.Downloader.downloadProductFileWithRetries(0x7c09c0, 0xc42000d2c0, 0x7fff284d9ee1, 0xe, 0x7c2d80, 0xc4200ac980, 0x7c1280, 0xc4200e6140, 0xc420011420, 0xf, ...)\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/downloader/downloader.go:94 +0xbc fp=0xc420162140 sp=0xc4201620b0\r\ngithub.com/pivotal-cf/pivnet-resource/downloader.Downloader.Download(0x7c09c0, 0xc42000d2c0, 0x7fff284d9ee1, 0xe, 0x7c2d80, 0xc4200ac980, 0xc4204dac00, 0x2, 0x4, 0xc420011420, ...)\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/downloader/downloader.go:70 +0x54f fp=0xc4201624c8 sp=0xc420162140\r\ngithub.com/pivotal-cf/pivnet-resource/downloader.(*Downloader).Download(0xc420013500, 0xc4204dac00, 0x2, 0x4, 0xc420011420, 0xf, 0xb10, 0x486954, 0xc420020018, 0xc4201fe4e0, ...)\r\n\t<autogenerated>:2 +0xcc fp=0xc420162560 sp=0xc4201624c8\r\ngithub.com/pivotal-cf/pivnet-resource/in.InCommand.downloadFiles(0x7c2d80, 0xc4200ac980, 0x0, 0x0, 0x7c5fc0, 0xc42000d2c0, 0x7c0980, 0xc420011510, 0x7c0940, 0xc420013500, ...)\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/in/in_command.go:301 +0x18d fp=0xc420162898 sp=0xc420162560\r\ngithub.com/pivotal-cf/pivnet-resource/in.(*InCommand).Run(0xc420163c78, 0xc4200ac8e0, 0x14, 0xc420011420, 0xf, 0xc4200ac8c0, 0x14, 0xc420011430, 0x8, 0xc420013320, ...)\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/in/in_command.go:167 +0xc5a fp=0xc420163938 sp=0xc420162898\r\nmain.main()\r\n\t/tmp/build/80754af9/gopath/src/github.com/pivotal-cf/pivnet-resource/cmd/in/main.go:98 +0xacc fp=0xc420163f28 sp=0xc420163938\r\nruntime.main()\r\n\t/usr/local/go/src/runtime/proc.go:183 +0x1f4 fp=0xc420163f80 sp=0xc420163f28\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc420163f88 sp=0xc420163f80\r\n\r\ngoroutine 159 [select, 9 minutes]:\r\nnet/http.(*persistConn).writeLoop(0xc42051d900)\r\n\t/usr/local/go/src/net/http/transport.go:1646 +0x3bd\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:1063 +0x50e\r\n\r\ngoroutine 158 [select, 9 minutes]:\r\nnet/http.(*persistConn).readLoop(0xc42051d900)\r\n\t/usr/local/go/src/net/http/transport.go:1541 +0x9c9\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:1062 +0x4e9\r\n```"}}
{"actor":{"display_login":"zachgersh"}}