The pprof heap report displays raw memory addresses

665 views Asked by At

Following this guide http://golang.org/pkg/net/http/pprof/, i'm trying to look at the heap report. When i navigate to the appropriate url, this is what is displayed:

enter image description here

I tried this with ActivePerl, StrawberryPerl and the Perl coming with MSYS tools. What is the issue here?

1

There are 1 answers

0
rhysh On

The output of the net/http/pprof package is best used with go tool pprof. If your server is listening on port 6060, you'll want a command like go tool pprof http://localhost:6060/debug/pprof/heap. There's an explanation of how to use the pprof tool at http://blog.golang.org/profiling-go-programs, which is linked from the net/http/pprof package docs.

If you're really interested in trying to read the output yourself, you can add ?debug=1 to the url you tried before - but I can't recommend it.