Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

fix: seq sender oom while have large batch to sync#15

Merged
KamiD merged 4 commits intodevfrom
zjg/fix-oom
Dec 25, 2024
Merged

fix: seq sender oom while have large batch to sync#15
KamiD merged 4 commits intodevfrom
zjg/fix-oom

Conversation

@zjg555543
Copy link

@zjg555543 zjg555543 commented Dec 18, 2024

Description

When a large number of batches are not commited to L1, the sequence sender will continuously request batches, eventually leading to out-of-memory (OOM) issue.

This PR can be avoided by limiting the maximum number of batches to synchronize.
Refer to 0xPolygon#249

Copy link

@Vui-Chee Vui-Chee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than that lone comment, I think this PR lgtm 👍!

@KamiD KamiD merged commit bb1c057 into dev Dec 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants