会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
浮生逍遥
博客园
首页
新随笔
联系
管理
订阅
2019年11月15日
golang pprof 内存问题定位
摘要: 在主函数中引入包 _ "net/http/pprof" //debug 在main方法里加入 //debug go func() { _ = http.ListenAndServe("0.0.0.0:6060", nil) }() go tool pprof -alloc_space -cum -s
阅读全文
posted @ 2019-11-15 11:08 浮生逍遥
阅读(722)
评论(0)
推荐(0)
公告