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

Isn't it a memory leak? #19

Open
nikandfor opened this issue Dec 7, 2020 · 1 comment
Open

Isn't it a memory leak? #19

nikandfor opened this issue Dec 7, 2020 · 1 comment

Comments

@nikandfor
Copy link

Am I missing something or these increments are all saved and never freed?

o.Increments = append(o.Increments, string(body))

@dnfd
Copy link
Contributor

dnfd commented Dec 10, 2020

hello @nikandfor, increments are saved until a new snapshot is received, then old increments can be marked as garbage.

o.Increments = []string{}

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

No branches or pull requests

2 participants