Dear all, I had written a go program but I found that it has 100k memory leak per day.
I have tried to use pprof to check but it does not show anything: curl -s http://localhost:6060/debug/pprof/heap > ~/Downloads/base.heap : : one hour later : : curl -s http://localhost:6060/debug/pprof/heap > ~/Downloads/current.heap go tool pprof --base ~/Downloads/base.heap ~/async3 ~/Downloads/current.heap (pprof) top 0 of 0 total ( 0%) flat flat% sum% cum cum% 0 0% 0% 0 0% bufio.(*Reader).ReadString 0 0% 0% 0 0% compress/flate.(*compressor).init 0 0% 0% 0 0% compress/flate.NewWriter 0 0% 0% 0 0% compress/gzip.(*Writer).Write 0 0% 0% 0 0% crypto/aes.NewCipher 0 0% 0% 0 0% crypto/aes.newCipher 0 0% 0% 0 0% crypto/aes.newCipherGeneric 0 0% 0% 0 0% crypto/rsa.VerifyPKCS1v15 0 0% 0% 0 0% crypto/rsa.encrypt 0 0% 0% 0 0% crypto/tls.(*Conn).Handshake (pprof) Hope that someone can teach me whether I did something wrong. BR, Terry -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.