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 <frankflipp...@gmail.com>
wrote:

> 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 <pod_ip>/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 allocation, but I'm bothered by difference in 40Gi.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/8eb463f6-e608-40b0-8df5-c497e2a1414an%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/8eb463f6-e608-40b0-8df5-c497e2a1414an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD_uHVsgjbxUpHUObYTvVciOtXTeZz4hxXxF5%2BBJznYtwA%40mail.gmail.com.

Reply via email to