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

RPC: close tx.Prefix iterator for early release memory #9759

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

yperbasis
Copy link
Collaborator

Cherry pick PR #9753 into the release

- currently manually closing iterator, but later I may auto-close it
when `it.HasNext()` turn false
- FYI: all iterators are also auto-closed now when `tx.Rollback/Commit` 


![mem](https://github.com/ledgerwatch/erigon/assets/46885206/40372932-3e7b-4648-be09-7c16d620592c)
@yperbasis yperbasis merged commit bc2828b into release/2.59 Mar 19, 2024
6 checks passed
@yperbasis yperbasis deleted the pick_9753 branch March 19, 2024 11:31
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