[go-nuts] Re: go program memleak

2017-04-05 Thread cellterry
Hello, Do anyone knows why the profiling seems to be not working as the flat and cum are all 0? BR, Terry On Wednesday, March 22, 2017 at 5:33:48 AM UTC-7, Terry Lai wrote: > > Dear all, > > I had written a go program but I found that it has 100k memory leak per > day. > > I have tried to use

[go-nuts] DebugGC

2017-04-05 Thread cellterry
Dear all, I found the DebugGC of MemStats got from runtime.ReadMemStats is always false. If I want it to be true, how do I do? 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 f

[go-nuts] go program memleak

2017-03-22 Thread cellterry
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