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

Possible memory leak? #322

Open
VeNoMouS opened this issue Oct 24, 2021 · 1 comment
Open

Possible memory leak? #322

VeNoMouS opened this issue Oct 24, 2021 · 1 comment

Comments

@VeNoMouS
Copy link

VeNoMouS commented Oct 24, 2021

it appears that EncodeValue uses bytes.Buffer to write which leads to a makeSlice, which does not appear to be released leading to a memory leak (due to exponential growth...) when being called over and over again, you can see this via pprof...

@vmihailenco
Copy link
Owner

Do you have a link to the code?

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