Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Visualize It

Code Block
(pprof) web


Memory Profiling


Code Block
$ go tool pprof mem.prof 
Type: alloc_space
Time: Jul 19, 2022 at 11:17am (EDT)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof)

...

Visualize It

Code Block
(pprof) web

Image Modified

References

ReferenceURL
Go (Golang) Profiling Tutorialhttps://www.youtube.com/watch?v=HEwSkhr_8_M
How I investigated memory leaks in Go using pprof on a large codebasehttps://www.freecodecamp.org/news/how-i-investigated-memory-leaks-in-go-using-pprof-on-a-large-codebase-4bec4325e192/

...