curl x.x.x.x/debug/pprof/heap > base.heap
过段时间
curl x.x.x.x/debug/pprof/heap > current.heap
go tool pprof -svg -base base.heap <binary> current.heap > diff.svg
posted on 2018-09-10 20:37 niuk 阅读(218) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 niuk Powered by .NET 8.0 on Kubernetes