1

The Go program contains large memory and I want to know which objects own the max memory.

  1. I have try pprof, but it can only show where alloc memory.
  2. There is heap dump function, but I can not find any core dump reader

https://golang.org/pkg/runtime/debug/#WriteHeapDump

For example, like the top consumers MAT for java

enter image description here

jps
  • 20,041
  • 15
  • 75
  • 79
loverszhaokai
  • 127
  • 10

0 Answers0