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

Fix memory leak when doing send tx, vote, block etc to peers #211

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

wjrjerome
Copy link
Collaborator

Found a memory leak issue based on original v1/eth code.
See full details from the profiling report. As you can see the golang-set Add method took a big chunk of space. This method has been shared across transactions, blocks and votes, timeout for peer to peer communication.
profile003 (1).pdf

@wjrjerome wjrjerome merged commit ff6ee67 into dev-upgrade Nov 28, 2022
@wjrjerome wjrjerome deleted the fix-memory-leak branch November 28, 2022 10:52
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

Successfully merging this pull request may close these issues.

None yet

3 participants