https://github.com/golang/go/blob/master/src/runtime/malloc.go#L137
On Saturday, 1 July 2017 13:12:32 UTC+10, Jeremy Jay wrote: > > We've got a very high-memory (4TB) system available that I'm trying to > make full use of. Anyone have any > pointers on how to track down this issue? Is it a system configuration > thing, a go malloc bug, or something else? > > Thanks! > > Snippet of the crash follows: > > fatal error: out of memory > fatal error: out of memory > runtime: out of memory: cannot allocate 196608-byte block (549755682816 in > use) > fatal error: out of memory > runtime: out of memory: cannot allocate 196608-byte block (549755682816 in > use) > fatal error: out of memory > runtime: out of memory: cannot allocate 196608-byte block (549755682816 in > use) > fatal error: out of memory > runtime: out of memory: cannot allocate 196608-byte block (549755682816 in > use) > fatal error: out of memory > > runtime stack: > runtime.throw(0x533f6c, 0xd) > /projects/bisd/sw/packages/go/1.8.1/src/runtime/panic.go:596 +0x95 > runtime.largeAlloc(0x24700, 0x44ac01, 0x1441fe22000) > /projects/bisd/sw/packages/go/1.8.1/src/runtime/malloc.go:797 +0x10f > runtime.mallocgc.func1() > /projects/bisd/sw/packages/go/1.8.1/src/runtime/malloc.go:690 +0x3e > runtime.systemstack(0xc42053bbe0) > /projects/bisd/sw/packages/go/1.8.1/src/runtime/asm_amd64.s:327 +0x79 > runtime.mstart() > /projects/bisd/sw/packages/go/1.8.1/src/runtime/proc.go:1132 > > goroutine 849 [running]: > runtime.systemstack_switch() > /projects/bisd/sw/packages/go/1.8.1/src/runtime/asm_amd64.s:281 > fp=0xd278fd1a40 sp=0xd278fd1a38 > runtime.mallocgc(0x24700, 0x505720, 0xd278fd1b01, 0x40eff8) > /projects/bisd/sw/packages/go/1.8.1/src/runtime/malloc.go:691 +0x930 > fp=0xd278fd1ae0 sp=0xd278fd1a40 > runtime.makeslice(0x505720, 0x48e0, 0x48e0, 0xda52757500, 0x0, 0x947) > /projects/bisd/sw/packages/go/1.8.1/src/runtime/slice.go:54 +0x7b > fp=0xd278fd1b30 sp=0xd278fd1ae0 > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.