Re: [go-nuts] GO program's memory footprint is confusing

2022-05-09 Thread David Finkel
Looking at proc-10451, I see that there are two mappings with anonymous huge pages in that smaps output, and none on the other. Does one machine have transparent hugepages enabled, and the other not? You can check whether they're enabled on that system by looking at /sys/kernel/mm/transparent_hugep

[go-nuts] GO program's memory footprint is confusing

2022-04-29 Thread garenchan
*What version of Go are you using (go version)?* $ go version go version go1.17.6 linux/amd64 *Does this issue reproduce with the latest release?* uncertain *What operating system and processor architecture are you using (go env)?* $ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/ro