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 in txpool #201

Merged
merged 1 commit into from
Oct 7, 2021
Merged

Fix memory leak in txpool #201

merged 1 commit into from
Oct 7, 2021

Conversation

ferranbt
Copy link
Contributor

@ferranbt ferranbt commented Oct 7, 2021

This PR force calls Reheap periodically on the txpool to evict old transactions from the priced list when London fork is not enabled. Otherwise, it calls setBaseFee that internally calls Reheap.

@ssandeep ssandeep merged commit a9c71ef into master Oct 7, 2021
@ssandeep ssandeep deleted the fix-memory-leak branch October 7, 2021 18:45
This was linked to issues Oct 7, 2021
DNK90 pushed a commit to axieinfinity/ronin that referenced this pull request Nov 14, 2022
Cherry pick a commit in maticnetwork/bor#201 to fix
memory leak in txpool

Co-authored-by: Ferran Borreguero <ferranbt@protonmail.com>
minh-bq added a commit to minh-bq/ronin that referenced this pull request Dec 12, 2022
Cherry pick a commit in maticnetwork/bor#201 to fix
memory leak in txpool

Co-authored-by: Ferran Borreguero <ferranbt@protonmail.com>
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.

memory leak Very high memory usage and OOM kill
2 participants