From aaf50d0642ba31271acd1c1995c443f6c24bef4a Mon Sep 17 00:00:00 2001 From: qydysky Date: Sat, 7 Jun 2025 20:19:14 +0800 Subject: [PATCH] =?utf8?q?Add=20state=E9=A1=B5=E6=B7=BB=E5=8A=A0memAlloc?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- CV/Var.go | 1 + 1 file changed, 1 insertion(+) diff --git a/CV/Var.go b/CV/Var.go index 215a3cd..2176302 100644 --- a/CV/Var.go +++ b/CV/Var.go @@ -657,6 +657,7 @@ func (t *Common) Init() *Common { }, "mem": map[string]any{ "memInUse": humanize.Bytes(memStats.HeapInuse + memStats.StackInuse), + "memAlloc": humanize.Bytes(memStats.TotalAlloc), }, "gc": map[string]any{ "numGC": memStats.NumGC, -- 2.39.2