Skip to content
New issue

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

Memory leaks and the number of coroutines keeps increasing #6

Open
welping123 opened this issue Jun 9, 2023 · 0 comments
Open

Memory leaks and the number of coroutines keeps increasing #6

welping123 opened this issue Jun 9, 2023 · 0 comments

Comments

@welping123
Copy link

Memory leaks and the number of coroutines keeps increasing,Profiling using the "pprof" tool。

`goroutine profile: total 159
71 @ 0xcdb6f6 0xceae52 0xf40075 0xd09b21

0xf40074 net/http.(*persistConn).writeLoop+0xf4 D:/goPath/src/net/http/transport.go:2392

69 @ 0xcdb6f6 0xceae52 0xf3ef85 0xd09b21

0xf3ef84 net/http.(*persistConn).readLoop+0xda4 D:/goPath/src/net/http/transport.go:2213`

[allocs abnormal display]

0xd17ec4 io.ReadAll+0xa4 D:/goPath/src/io/io.go:643

0xf4d0b3 io/ioutil.ReadAll+0x73 D:/goPath/src/io/ioutil/ioutil.go:27

0xf4d08e github.com/xuanbo/requests.(*Result).Raw+0x4e D:/goPath/pkg/mod/github.com/xuanbo/requests@v0.0.1/requests.go:286

0xf4d2c7 github.com/xuanbo/requests.(*Result).Json+0x27 D:/goPath/pkg/mod/github.com/xuanbo/requests@v0.0.1/requests.go:309

0xf4e3bc github.com/xuanbo/eureka-client.Refresh+0x2dc D:/goPath/pkg/mod/github.com/xuanbo/eureka-client@v0.0.5/api.go:66

0xf4efef github.com/xuanbo/eureka-client.(*Client).doRefresh+0x2f D:/goPath/pkg/mod/github.com/xuanbo/eureka-client@v0.0.5/client.go:112

0xf4ed47 github.com/xuanbo/eureka-client.(*Client).refresh+0x47 D:/goPath/pkg/mod/github.com/xuanbo/eureka-client@v0.0.5/client.go:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant