-
Notifications
You must be signed in to change notification settings - Fork 469
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
Excessive memory consumption (>40G) after upgrading from 1.27.0 to 1.30.3 #8020
Comments
Hi @Ragnaruk ! Thanks for the report! We will take a look at that as a priority to fix it asap. |
@brbrr Please reproduce it on our infra. @benaadams Did we had any performance optimizations for tarce calls in last versions? |
@Ragnaruk, could you share some of the |
Yes, mainnet. Here's a quick reproduction: #!/bin/bash
URL="http://127.0.0.1:8545"
HEADER="Content-Type: application/json"
for i in $(seq 1 100);
do
block_number=$(curl -s -X POST -H "$HEADER" "$URL" -d '{"jsonrpc":"1.0","id":0,"method":"eth_blockNumber","params":[]}' | jq .result);
echo "$(date -u) - Block: $block_number";
transactions=( $(curl -s -X POST -H "$HEADER" "$URL" -d "{\"jsonrpc\":\"1.0\",\"id\":0,\"method\":\"eth_getBlockByNumber\",\"params\":[$block_number]}" | jq .result.transactions | sed -e 's/[][]//g' -e 's/[,]//g' ) );
echo "$(date -u) - Transactions: ${#transactions[@]}";
for txhash in "${transactions[@]}";
do
curl -s -o /dev/null -X POST -H "$HEADER" "$URL" -d "{\"jsonrpc\":\"1.0\",\"id\":0,\"method\":\"trace_transaction\",\"params\":[$txhash]}"&
sleep 0.1;
done
done |
Description
After upgrading Nethermind from 1.27.0 to 1.30.3 it started consuming (leaking?) memory at a pretty alarming rate.
I am using Nethermind as an RPC node, and it looks like it is at least somewhat related — without any load memory consumption seems stable.
Rate of requests if needed:
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: