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

bugfix: txpool reheap oom #211

Merged
merged 9 commits into from
Nov 26, 2024

Conversation

andyzhang2023
Copy link
Contributor

Description

There is an oom issue in transaction pool caused by reheap optimization:

  1. The demoted transactions would not be removed unless the pool is full, which means those staled transactions will stay in the priced list forever until the pool overflows.
  2. memory grows too fast if the pool copy all transactions 5 times per second, so we reduce it to 1 time per second.

@owen-reorg owen-reorg merged commit c1d1b12 into bnb-chain:develop Nov 26, 2024
1 check passed
bnoieh pushed a commit to bnoieh/op-geth that referenced this pull request Nov 29, 2024
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.

3 participants