Dear K6 support,
I run k6 in 4 cpu cores/16 RAM VM with 160 concurrent users, after running 2 hours, it throws OOM error. K6 version: k6 v0.24.0.
Pls feel free to let me know if you need additional info, thx!
init [----------------------------------------------------------] starting^Mtime=“2019-08-01T16:13:23Z” level=info msg=Running i=6341 t=945.091641ms
time=“2019-08-01T16:13:24Z” level=info msg=Running i=13561 t=1.945092543s
…
time=“2019-08-01T18:10:03Z” level=info msg=Running i=50540007 t=1h56m39.57512173s
fatal error: runtime: out of memory
runtime stack:
runtime.throw(0xde89df, 0x16)
/usr/lib/go/src/runtime/panic.go:617 +0x72
runtime.sysMap(0xc39c000000, 0x20000000, 0x18a5eb8)
/usr/lib/go/src/runtime/mem_linux.go:170 +0xc7
runtime.(*mheap).sysAlloc(0x188ce40, 0x1e1fc000, 0x188ce50, 0xf0fe)
/usr/lib/go/src/runtime/malloc.go:633 +0x1cd
runtime.(*mheap).grow(0x188ce40, 0xf0fe, 0x0)
/usr/lib/go/src/runtime/mheap.go:1232 +0x42
runtime.(*mheap).allocSpanLocked(0x188ce40, 0xf0fe, 0x18a5ec8, 0x0)
/usr/lib/go/src/runtime/mheap.go:1150 +0x3a7
runtime.(*mheap).alloc_m(0x188ce40, 0xf0fe, 0x101, 0x0)
/usr/lib/go/src/runtime/mheap.go:977 +0xc2
runtime.(*mheap).alloc.func1()
/usr/lib/go/src/runtime/mheap.go:1048 +0x4c
runtime.(*mheap).alloc(0x188ce40, 0xf0fe, 0x7fc91d000101, 0x4282b0)
/usr/lib/go/src/runtime/mheap.go:1047 +0x8a
runtime.largeAlloc(0x1e1fc000, 0x450100, 0xc37c000000)
/usr/lib/go/src/runtime/malloc.go:1055 +0x99
runtime.mallocgc.func1()
/usr/lib/go/src/runtime/malloc.go:950 +0x46
runtime.systemstack(0xc02e1f4a80)
/usr/lib/go/src/runtime/asm_amd64.s:351 +0x66
runtime.mstart()
/usr/lib/go/src/runtime/proc.go:1153
Thanks,
Roy