-
Notifications
You must be signed in to change notification settings - Fork 156
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
Sidecar fails after reaching 4GB RSS Memory #1485
Comments
While the container has more resources to allow Sidecar to run, if the process is not assigned a larger heap it would crash when the limit is reached. The start command could be modified to allow more heap memory (to match a larger container). Some of the work done between PJS and Sidecar should allow it to run more efficiently so decreasing the likelihood to this specific case happening, however, more work is required to reduce the memory consumption. The PJS cache system will still be a big contributor to this issue. |
After updating from
The container running sidecar has a plenty of memory, previously Here is a workaround, run sidecar with this option
|
Thank you @gituser so much for your feedback! 💯 |
Unfortunately 8192MB is not enough for sidecar, I'll continue increasing it, but it's not normal and this bug should be fixed. |
Any update on this? @Imod7 @filvecchiato
|
Just to clarify, you haven't tried any other versions between 19.0.2 and 19.3.1 right? I haven't dived into this much, but I am happy to profile some of the releases in between 19.0.2, and 19.3.1 when I am back on Monday. I would be glad to give a helping hand on this and see it get resolved. I would be curious to see if this is related to polkadot-js in any way as well. |
@TarikGul No, I didn't try versions in between. But I think
Will be waiting for your results! Thanks. |
Description
A team using Sidecar has reported issues where the Sidecar processes gradually consumes up to 4Gb of RSS memory and then becomes incapable of handling any requests, requiring the process to restart. It's running in its own container alongside a Polkadot node. Despite allocating more resources to the container, it consistently fails once it hits the 4GB mark.
Linked to #1361
Possible Issues
Memory Leaks ?
Possible Good Resources
The text was updated successfully, but these errors were encountered: