forked from scylladb/gemini
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The reason for this leak is the that golang maps are not shrinking when you do delete on them. Under the hood, for tracking inflight tokens `u64set` is used from `go-set` which is based on map, key for which is token gemini is addressing, no wonder it is leaking memory. Solution is to shrink map ocassionaly.
- Loading branch information
1 parent
8bcf95d
commit 2bda3e4
Showing
2 changed files
with
77 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters