{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/4746","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/4746/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/4746/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/4746/events","html_url":"https://github.com/influxdb/influxdb/issues/4746","id":116273795,"number":4746,"title":"[0.9.4.2]runtime: out of memory on write ","user":{"login":"ivanscattergood","id":7541023,"avatar_url":"https://avatars.githubusercontent.com/u/7541023?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanscattergood","html_url":"https://github.com/ivanscattergood","followers_url":"https://api.github.com/users/ivanscattergood/followers","following_url":"https://api.github.com/users/ivanscattergood/following{/other_user}","gists_url":"https://api.github.com/users/ivanscattergood/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanscattergood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanscattergood/subscriptions","organizations_url":"https://api.github.com/users/ivanscattergood/orgs","repos_url":"https://api.github.com/users/ivanscattergood/repos","events_url":"https://api.github.com/users/ivanscattergood/events{/privacy}","received_events_url":"https://api.github.com/users/ivanscattergood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdb/influxdb/labels/panic","name":"panic","color":"cc0000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-11T06:19:56Z","updated_at":"2015-12-07T22:18:09Z","closed_at":"2015-12-05T15:40:22Z","body":"Hi \r\n\r\nHad the following error this morning whilst writing data to 0.9.4.2 \r\n```\r\nfatal error: runtime: out of memory\r\n\r\nruntime stack:\r\nruntime.throw(0xc58aa0, 0x16)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/panic.go:527 +0x90\r\nruntime.sysMap(0xc7dfa0c000, 0x45a0000, 0xcfa0a50000, 0x1023658)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/mem_linux.go:143 +0x9b\r\nruntime.mHeap_MapBits(0x1003980, 0xd02be50000)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/mbitmap.go:144 +0xcc\r\nruntime.mHeap_SysAlloc(0x1003980, 0x8b400000, 0xffffffffd4a33ff0)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/malloc.go:424 +0x186\r\nruntime.mHeap_Grow(0x1003980, 0x45a00, 0x0)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/mheap.go:628 +0x63\r\nruntime.mHeap_AllocSpanLocked(0x1003980, 0x459ff, 0x100)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/mheap.go:532 +0x5f1\r\nruntime.mHeap_Alloc_m(0x1003980, 0x459ff, 0x100000000, 0xcb00000001)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/mheap.go:425 +0x1ac\r\nruntime.mHeap_Alloc.func1()\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/mheap.go:484 +0x41\r\nruntime.systemstack(0x7ff284f21d88)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/asm_amd64.s:278 +0xab\r\nruntime.mHeap_Alloc(0x1003980, 0x459ff, 0x10100000000, 0xc820018000)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/mheap.go:485 +0x63\r\nruntime.largeAlloc(0x8b3fcbec, 0x1, 0x0)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/malloc.go:745 +0xb3\r\nruntime.mallocgc.func3()\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/malloc.go:634 +0x33\r\nruntime.systemstack(0xc82001c000)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/asm_amd64.s:262 +0x79\r\nruntime.mstart()\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/proc1.go:674\r\n\r\n\r\ngoroutine 76 [running]:\r\nruntime.systemstack_switch()\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/asm_amd64.s:216 fp=0xcb4358b4e8 sp=0xcb4358b4e0\r\nruntime.mallocgc(0x8b3fcbec, 0x9bd800, 0x65756c6100000001, 0x312038302e35313d)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/malloc.go:635 +0x9c4 fp=0xcb4358b5b8 sp=0xcb4358b4e8\r\nruntime.newarray(0x9bd800, 0x8b3fcbec, 0x616e205c6e6d756c)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/malloc.go:777 +0xc9 fp=0xcb4358b5f8 sp=0xcb4358b5b8\r\nruntime.makeslice(0x9a6700, 0x8b3fcbec, 0x8b3fcbec, 0x0, 0x0, 0x0)\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/slice.go:32 +0x165 fp=0xcb4358b648 sp=0xcb4358b5f8\r\ngithub.com/golang/snappy.Encode(0x0, 0x0, 0x0, 0xce4ee66000, 0x775b40f8, 0xd37b2cc3, 0x0, 0x0, 0x0)\r\n        /tmp/build/src/github.com/golang/snappy/encode.go:84 +0xb0 fp=0xcb435ab6e0 sp=0xcb4358b648\r\ngithub.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).writeSeries(0xc8bd762e00, 0xcb25599110, 0xc9950e5bf0, 0x0, 0x0)\r\n        /tmp/build/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:331 +0x151 fp=0xcb435ab7a8 sp=0xcb435ab6e0\r\ngithub.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).writeNewSeries(0xc8bd762e00, 0xcb25599110, 0xcb698cc000, 0x2f0a, 0x3000, 0x0, 0x0)\r\n        /tmp/build/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:322 +0x16c fp=0xcb435ab820 sp=0xcb435ab7a8\r\ngithub.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).WriteIndex.func1(0xcb25599110, 0x0, 0x0)\r\n        /tmp/build/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:241 +0x87 fp=0xcb435ab9c0 sp=0xcb435ab820\r\ngithub.com/boltdb/bolt.(*DB).Update(0xc8e180f380, 0xcb435aba38, 0x0, 0x0)\r\n        /tmp/build/src/github.com/boltdb/bolt/db.go:547 +0xb3 fp=0xcb435aba18 sp=0xcb435ab9c0\r\ngithub.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).WriteIndex(0xc8bd762e00, 0x0, 0xca4c9b4330, 0xcb698cc000, 0x2f0a, 0x3000, 0x0, 0x0)\r\n        /tmp/build/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:254 +0x86 fp=0xcb435aba78 sp=0xcb435aba18\r\ngithub.com/influxdb/influxdb/tsdb/engine/wal.(*Log).flushMetadata(0xc88177e620, 0x0, 0x0)\r\n        /tmp/build/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:688 +0x8d4 fp=0xcb435abd58 sp=0xcb435aba78\r\ngithub.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher(0xc88177e620, 0xc98d20a0c0)\r\n        /tmp/build/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:616 +0x3be fp=0xcb435abf40 sp=0xcb435abd58\r\nruntime.goexit()\r\n        /home/philip/.gvm/gos/go1.5/src/runtime/asm_amd64.s:1696 +0x1 fp=0xcb435abf48 sp=0xcb435abf40\r\ncreated by github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open\r\n        /tmp/build/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x627\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/162684873","html_url":"https://github.com/influxdb/influxdb/issues/4746#issuecomment-162684873","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/4746","id":162684873,"user":{"login":"jakefoster","id":1377898,"avatar_url":"https://avatars.githubusercontent.com/u/1377898?v=3","gravatar_id":"","url":"https://api.github.com/users/jakefoster","html_url":"https://github.com/jakefoster","followers_url":"https://api.github.com/users/jakefoster/followers","following_url":"https://api.github.com/users/jakefoster/following{/other_user}","gists_url":"https://api.github.com/users/jakefoster/gists{/gist_id}","starred_url":"https://api.github.com/users/jakefoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakefoster/subscriptions","organizations_url":"https://api.github.com/users/jakefoster/orgs","repos_url":"https://api.github.com/users/jakefoster/repos","events_url":"https://api.github.com/users/jakefoster/events{/privacy}","received_events_url":"https://api.github.com/users/jakefoster/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T22:18:09Z","updated_at":"2015-12-07T22:18:09Z","body":"Thanks Paul.  I hope we're good here!"}}