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 #821

Closed
shopmans opened this issue Jun 1, 2023 · 1 comment
Closed

Memory leaks #821

shopmans opened this issue Jun 1, 2023 · 1 comment

Comments

@shopmans
Copy link

shopmans commented Jun 1, 2023

Hello

When I enabled the pprof service using zstd compression, I saw that the heap memory continued to grow, positioning the code "github.com/klauspost/compress@v1.16.5/zstd/encoder_options.go:60". Is it a problem?

@klauspost
Copy link
Owner

@shopmans This indicates you are not consistently calling Close on your encoders when you are done using them. Even better would be to re-use them.

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

2 participants