I'm developing a web program with Go revel framework(my go version is 1.6.2). And I got issues with the memory usage. The memory occupied by revel is increasing almost hundreds of MB every day. So I want to tune the program. Then I learn to use the go pprof and use the revel pprof as said in github.com/revel/modules/tree/master/pprof. But while I'm trying to get the memory profile with following command
go tool pprof http://sit:9000/debug/pprof/heap.
It got error unrecognized profile format. You can see as following snapshot.
enter image description here I've struggled on this issue for hours. Any help is appreciated! Thank you in advance!