Memory Leaking
Memory Leaking Scenarios go pprof与线上事故:一次成功的定位与失败的复现
Gin pprof
Case Sets
Case1: https://github.com/golang/go/issues/25484
yes, the way used by strings.Builder, is a more efficient way.
For reference, this is the source referred to
https://www.openmymind.net/Go-Slices-And-The-Case-Of-The-Missing-Memory/