-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
cloud.google.com/go/storage: goroutine leak #10948
Comments
@peijianju thanks for reporting. A few questions:
|
Actually, looks like from your go.mod that you are on a very old version of storage. Could you try the latest release (storage/v1.43.0)? |
Thank you @tritone , update my go.mod to use
New version v1.44.0 is used
No, this is found during my development, our own test suit keep reporting leaking. No report from production systems yet.
|
I'm pretty sure these are false positives. The OpenCensus Goroutine is a known issue (census-instrumentation/opencensus-go#1191) since the We've been using GoCloud with this module to upload files to Google Cloud Storage and have not seen memory leaks in production. We actively monitor memory usage, and you can see in June 2024 when we discovered a memory leak due to another unrelated issue after the upgrade to Go 1.22: |
Thank you @stanhu , I am closing this as a false alarm. I am looking at how to ignore these. For, census-instrumentation/opencensus-go#1191, it seems straightforward by But for golang/go#25759 (comment), some suggested to use |
I think re: CloseIdleConnections(), |
Client
GCP bucket storage
Environment
MacOS local develop environment
Code
cat leak_test.go
cat go.mod
The text was updated successfully, but these errors were encountered: