How to profile memory, CPU, blocking, mutexes and create traces with Go.
Read the Tutorial
(pprof) top // show functions using the most memory