Process show up using 11GB of resident memory, it doesn't use cgo, built with go 1.9. Heap debug shows: # runtime.MemStats # Alloc = 535278016 # TotalAlloc = 113090364120 # Sys = 583994616 # Lookups = 221159 # Mallocs = 499797278 # Frees = 492733492 # HeapAlloc = 535278016 # HeapSys = 543293440 # HeapIdle = 3776512 # HeapInuse = 539516928 # HeapReleased = 2899968 # HeapObjects = 7063786 # Stack = 5111808 / 5111808 # MSpan = 9703832 / 9797632 # MCache = 3472 / 16384 # BuckHashSys = 2118509 # GCSys = 21561344 # OtherSys = 2095499 # NextGC = 1000557040 # LastGC = 1518547848551628001
Both memory profile and heap debug show ~500MB memory is in use, idle heap is pretty low, given all that and lack of cgo, where rest 10.5G could go and what are tools to debug it? -- 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. For more options, visit https://groups.google.com/d/optout.