Reflect memory returned to OS in RAM Utilization

This commit is contained in:
Jakob Borg 2014-08-05 22:14:11 +02:00
parent 13291ad481
commit 5e237aecae

View File

@ -384,7 +384,7 @@ func restGetSystem(w http.ResponseWriter, r *http.Request) {
res["myID"] = myID.String()
res["goroutines"] = runtime.NumGoroutine()
res["alloc"] = m.Alloc
res["sys"] = m.Sys
res["sys"] = m.Sys - m.HeapReleased
res["tilde"] = expandTilde("~")
if cfg.Options.GlobalAnnEnabled && discoverer != nil {
res["extAnnounceOK"] = discoverer.ExtAnnounceOK()