How to analyze golang memory?

前端 未结 4 1092
滥情空心
滥情空心 2020-12-04 05:28

I wrote a golang program, that uses 1.2GB of memory at runtime.

Calling go tool pprof http://10.10.58.118:8601/debug/pprof/heap results in a dump with o

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 06:05

    You can also use StackImpact, which automatically records and reports regular and anomaly-triggered memory allocation profiles to the dashboard, which are available in a historical and comparable form. See this blog post for more details Memory Leak Detection in Production Go Applications

    Disclaimer: I work for StackImpact

提交回复
热议问题