Re: [go-nuts] package net/http/pprof causes memory increase

2017-01-06 Thread Dave Cheney
What about the other two suggestions in my previous message. > On 7 Jan 2017, at 15:00, Hoping White wrote: > > Sorry, I have tried to provide a simple runnable example to show this > problem, but failed > > It seems that has some connection with the complexity of the program. >> 在 2017年1月4日

Re: [go-nuts] package net/http/pprof causes memory increase

2017-01-06 Thread Hoping White
Sorry, I have tried to provide a simple runnable example to show this problem, but failed It seems that has some connection with the complexity of the program. > 在 2017年1月4日,下午2:52,Dave Cheney 写道: > > Can you provide a runnable sample which shows the problem? > > How are you determining you ar

[go-nuts] package net/http/pprof causes memory increase

2017-01-03 Thread Dave Cheney
Can you provide a runnable sample which shows the problem? How are you determining you are leaking memory? Can you please provide a sample of your application leaking memory with GODEBUG=gctrace=1 set. Note, you need to close (or stop, I cannot remember the exact syntax) a profile to release it

[go-nuts] package net/http/pprof causes memory increase

2017-01-03 Thread Hoping White
Hi, all I’m trying to use proof package to profile memory usage problem, and I found a strange phenomenon. Every time I profile, the res memory increase about 50m, and it doesn’t decrease anymore. Could this be a bug for proof package? -- You received this message because you are subscribed t