We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go version
go version go1.14.13 linux/amd64
go env
GOARCH="amd64" GOOS="linux"
general memory profile with the code in the Function main
memf, err := os.OpenFile("mem_profile2", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666) defer memf.Close() if err != nil { log.Fatal("could not create memory profile: ", err) } err = pprof.Lookup("heap").WriteTo(memf, 1)
error: go tool pprof mem_profile2 mem_profile2: parsing profile: unexpected number of sample values: got 0, want 6
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOOS="linux"
What did you do?
general memory profile with the code in the Function main
memf, err := os.OpenFile("mem_profile2", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
defer memf.Close()
if err != nil {
log.Fatal("could not create memory profile: ", err)
}
err = pprof.Lookup("heap").WriteTo(memf, 1)
error:
go tool pprof mem_profile2
mem_profile2: parsing profile: unexpected number of sample values: got 0, want 6
The text was updated successfully, but these errors were encountered: