[go-nuts] Re: Memory usage and go tool pprof

2016-11-22 Thread Dave Cheney
Please turn on gc debugging with end GODEBUG=gctrace=1 and check that your applications heap usage is behaving as you believe. -- 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, sen

[go-nuts] Re: Memory usage and go tool pprof

2016-11-22 Thread Alexander Petrovsky
Hello! "Real" is what I see in atop/htop/ps, as i mentioned erlier. Yep, about asked memory from OS is in my mind too, but how can I find situation when/why it's occur? To be more precise, my app load N merabytes from DB, and put them into map. So, I fully understand when N megabytes transform

[go-nuts] Re: Memory usage and go tool pprof

2016-11-21 Thread Tamás Gulácsi
What is "real"? 65Gb has been asked from the OS, and it gave that much to the runtime. But it used only 25Gb of it. Maybe even released some to the OS, but maybe that did not took that. Is the 25Gb really needed and used for good? The OOM suggests that for moments your program allocated much mor