Re: [go-nuts] heap pprof profile showing only 10Gi out of 50Gi of actually used memory

2024-02-21 Thread Frank Flipper
it's a purely golang app On Tuesday, February 20, 2024 at 9:38:35 PM UTC+3 Kurtis Rader wrote: > Is your app built with CGO? That is, do you link it against any C/C++ code > that might be calling malloc? > > On Tue, Feb 20, 2024 at 5:22 AM Frank Flipper wrote: > >>

[go-nuts] heap pprof profile showing only 10Gi out of 50Gi of actually used memory

2024-02-20 Thread Frank Flipper
I have an app that's put inside k8s container and is being monitored in grafana. Memory usage graph shows me that one of the pods is using 50Gi of memory, but when I go to /debug/pprof/heap I only see that it's using only 10-11Gi. I'm aware that pprof is not meant to track and show every single