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

Limit number of items we hold in memory #2961

Open
svyatonik opened this issue Apr 19, 2024 · 1 comment
Open

Limit number of items we hold in memory #2961

svyatonik opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@svyatonik
Copy link
Contributor

Relayer sometimes eats too much memory (over 512Mb). It happens e.g. when the RPC node connection is slow and it scans large range of headers - then while reading headers, it doesn't read justifications from the subscription and they pile up there. We should check all our queues and either process them in some other way, or have a strict limit

@svyatonik
Copy link
Contributor Author

could be the reason: paritytech/polkadot-sdk#4481

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant