You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My http service meet a memory problem. The heap spikes causing RSS increasing, but after heap spike the RSS doesn't decreasing. There is no memory leaks, it's checked via pprof and monitor(prometheus).
On Linux, the runtime now uses MADV_FREE to release unused memory. This is more efficient but may result in higher reported RSS. The kernel will reclaim the unused data when it is needed.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes, it's also reproduce with go1.13.7
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
My http service meet a memory problem. The heap spikes causing RSS increasing, but after heap spike the RSS doesn't decreasing. There is no memory leaks, it's checked via
pprof
and monitor(prometheus).What did you expect to see?
After heap spikes, RSS will be decreasing.
What did you see instead?
After heap spikes RSS keeps on increasing.
pmap -x 15080
Outputcat /proc/15080/status
OutputThe text was updated successfully, but these errors were encountered: