Comment Comment by styluss Pprof doesn't tell you if something was leaked aka still around.I fixed a leak recently because of misuse of a slice with code likeslice = append(slice[1:], newElement)I only figured it out by looking at the pprof heap endpoint output and noticed there were multiple duplicate entries. parent styluss 1 year ago
I fixed a leak recently because of misuse of a slice with code like
slice = append(slice[1:], newElement)
I only figured it out by looking at the pprof heap endpoint output and noticed there were multiple duplicate entries.