Skip to content

Instantly share code, notes, and snippets.

@ldemailly
Created August 17, 2024 21:38
Show Gist options
  • Save ldemailly/915e043323fa160562f121766990d9e3 to your computer and use it in GitHub Desktop.
Save ldemailly/915e043323fa160562f121766990d9e3 to your computer and use it in GitHub Desktop.
fatal error: runtime: out of memory
fatal error: runtime: out of memory
runtime stack:
runtime.throw({0x4ef6d4?, 0x29ba8?})
runtime/panic.go:1023 +0x40 fp=0xffffc347a860 sp=0xffffc347a830 pc=0x4a790
runtime.sysMapOS(0x4000800000, 0xe8d4c00000)
runtime/mem_linux.go:167 +0x104 fp=0xffffc347a8a0 sp=0xffffc347a860 pc=0x2a0f4
runtime.sysMap(0x4000800000, 0xe8d4c00000, 0x9164e8?)
runtime/mem.go:155 +0x34 fp=0xffffc347a8c0 sp=0xffffc347a8a0 pc=0x29bb4
runtime.(*mheap).grow(0x9062a0, 0x746a529?)
runtime/mheap.go:1534 +0x278 fp=0xffffc347a940 sp=0xffffc347a8c0 pc=0x3d4a8
runtime.(*mheap).allocSpan(0x9062a0, 0x746a529, 0x0, 0x1)
runtime/mheap.go:1246 +0x164 fp=0xffffc347a9e0 sp=0xffffc347a940 pc=0x3ca44
runtime.(*mheap).alloc.func1()
runtime/mheap.go:964 +0x6c fp=0xffffc347aa30 sp=0xffffc347a9e0 pc=0x3c53c
runtime.systemstack(0xffffc346aa70)
runtime/asm_arm64.s:243 +0x6c fp=0xffffc347aa40 sp=0xffffc347aa30 pc=0x7f19c
goroutine 37 gp=0x4000003880 m=0 mp=0x8f9080 [running]:
runtime.systemstack_switch()
runtime/asm_arm64.s:200 +0x8 fp=0x4000340400 sp=0x40003403f0 pc=0x7f118
runtime.(*mheap).alloc(0xe8d4a52000?, 0x746a529?, 0x98?)
runtime/mheap.go:958 +0x54 fp=0x4000340450 sp=0x4000340400 pc=0x3c494
runtime.(*mcache).allocLarge(0x4000340400?, 0xe8d4a51000, 0x1)
runtime/mcache.go:234 +0x74 fp=0x40003404a0 sp=0x4000340450 pc=0x289c4
runtime.mallocgc(0xe8d4a51000, 0x0, 0x0)
runtime/malloc.go:1165 +0x534 fp=0x4000340530 sp=0x40003404a0 pc=0x1fc84
internal/bytealg.MakeNoZero(0xe8d4a51000)
runtime/slice.go:369 +0x34 fp=0x4000340560 sp=0x4000340530 pc=0x7e024
strings.(*Builder).grow(0x4000340620, 0xeb337d9276a8?)
strings/builder.go:69 +0x2c fp=0x40003405a0 sp=0x4000340560 pc=0x1062ec
strings.(*Builder).Grow(0x10?, 0x8f9080?)
strings/builder.go:83 +0x6c fp=0x40003405c0 sp=0x40003405a0 pc=0x1063fc
strings.Repeat({0x4000121668, 0x1}, 0x40003406c8?)
strings/strings.go:580 +0x90 fp=0x4000340650 sp=0x40003405c0 pc=0x10b480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment