30 Apr 2012 17:49
Re: pprof profiling data are empty
On Mon, Apr 30, 2012 at 4:10 PM, Thomas Adam <thomas.adam-yqcaP4giWpuzQB+pC5nmwQ@public.gmane.org> wrote:
I have read the blog post http://blog.golang.org/2011/06/profiling-go-programs.html?m=1 and implemented it in my app.
But in the created profile file there are only some empty bytes and the pprof tool shows me that the file has 0 samples.Memory profiling and the pprof http handler doesn't work too.The call to "pprof.StopCPUProfile()" is executed befor the application stops. So why I get no profiling data?I hope somebody can help me.
Are you using Mac OS X 10.6.x 64-bit kernel? pprof is known to misbehave on it.
RSS Feed