From 5e237aecae681d55c95c723ecbb0ef3d21d5e704 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 5 Aug 2014 22:14:11 +0200 Subject: [PATCH] Reflect memory returned to OS in RAM Utilization --- cmd/syncthing/gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index 36e6cb8c..6ab3fc01 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -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()