Panic and fatal error: out of memory

I have just realised that one my Syncthing instances had a panic a few days ago. Just for the record, it is possible that the system did run out of memory, but I am just curious whether there is anything else in the panic log that could indicate an issue or not.

panic-20210224-235334.log (133.2 KB)

runtime stack:
runtime.throw(0x1e4c270, 0xd)
	runtime/panic.go:1116 +0x79
runtime.sysUsed(0xc012344000, 0x80000)
	runtime/mem_windows.go:83 +0x22e
runtime.(*mheap).allocSpan(0x27a8c00, 0x40, 0xffdb7f0100, 0x27c48a8, 0xfffffffffffffade)
	runtime/mheap.go:1276 +0x3c7
runtime.(*mheap).alloc.func1()
	runtime/mheap.go:907 +0x6b
runtime.(*mheap).alloc(0x27a8c00, 0x40, 0x1210101, 0x27a8c00)
	runtime/mheap.go:901 +0x88
runtime.largeAlloc(0x80000, 0x1d10101, 0x1d10720)
	runtime/malloc.go:1177 +0x99
runtime.mallocgc.func1()
	runtime/malloc.go:1071 +0x4d
runtime.systemstack(0x0)
	runtime/asm_amd64.s:370 +0x6b
runtime.mstart()
	runtime/proc.go:1116

This is a self-compiled Syncthing v1.13.x (amd64) running under Windows 10.

The panic logs running out of memory will not have anything that explains what was using the memory, so unless there is a memory profile, there is nothing to be looked at here.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.