reth
reth copied to clipboard
Track body downloader memory size
Describe the feature
body stage is susceptible to OOM, because it's bound by number of blocks instead of max memory.
In order to restrict it by mem size, we need to track it:
the simplest solution here is to keep track of all tx.data.len() in the buffer.
Additional context
No response