-
Notifications
You must be signed in to change notification settings - Fork 502
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 leak with Minio storage #1106
Comments
@jbub thanks for filing this. we'll check it out as soon as we can |
Related
|
Possible cause: minio/minio-go#848 |
@jbub can you run Athens with this env var: |
@jbub also can you please post your Athens config file or env vars if you're not using the default ones? |
|
|
This is most likely the issue @marpio recorded as I cannot reproduce any memory leaks in gctrace or the go tracer tool. I have a fork with the suggested solution above. @jbub feel free to test it out and see if it solves the issue: https://github.com/marwan-at-work/athens/tree/miniomemfix In any case, the fork I have would solve the massive heap allocation to begin with so it's something that Athens should merge in soon anyway. |
Describe the bug
I noticed a huge memory leak after upgrading to v0.3.0. After building a project the memory usage jumped to
2.32G
, before the upgrade the memory usage was flat at around70MB
. It seems like its not related to thev0.3.0
release, but to minio storage in general.To Reproduce
Build a project which is using Athens as a
GOPROXY
.Expected behavior
Flat memory usage.
Environment (please complete the following information):
1.12
gomods/athens:v0.3.0
minio
The text was updated successfully, but these errors were encountered: