Golang fatal error: sweep increased allocation count

runtime: nelems=512 nalloc=339 previous allocCount=338 nfreed=65535
fatal error: sweep increased allocation count

runtime stack:
runtime.throw(0x106b506, 0x20)
    /usr/local/go/src/runtime/panic.go:608 +0x72
runtime.(*mspan).sweep(0x7f06d49c7428, 0x433e00, 0xc000000d00)
    /usr/local/go/src/runtime/mgcsweep.go:298 +0x879
runtime.sweepone(0x434617)
    /usr/local/go/src/runtime/mgcsweep.go:113 +0x10f
runtime.gosweepone.func1()
    /usr/local/go/src/runtime/mgcsweep.go:137 +0x2b
runtime.systemstack(0x0)
    /usr/local/go/src/runtime/asm_amd64.s:351 +0x66
runtime.mstart()
    /usr/local/go/src/runtime/proc.go:1229

excuse me, what is the cause of this error?

Nov.11,2021

it is recommended to describe the problem and background clearly. If there is only one stack message in detail, it is very difficult to locate the problem.


looks like panic during GC cleanup

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e7ea-2c42f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e7ea-2c42f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?