-
Notifications
You must be signed in to change notification settings - Fork 810
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
Prune blobs can OOM #6559
Comments
The reason we're doing I would like to consider refactoring and deleting large parts of |
Alternative strategy: Do away with the I think this will allow us to get rid of all the complexity around reverting blob DB transactions and coordinating writes across databases. I think the only other place it's currently used is when importing blocks. In this case we can write the blobs first, and then write the block, so that we maintain the invariant:
|
i can pick this one up I think itd be nice to add a |
Fixed now by: |
Description
We have a bug report from AllNodes about a Lighthouse node using 77GB of RAM when switching from
--prune-blobs false
to--prune-blobs true
.They helpfully shared a jemalloc memory dump which shows that the allocations are within
do_atomically_with_block_and_blobs_cache
, in particular in theget_blobs
call under thepartition
.The text was updated successfully, but these errors were encountered: