charon-distributed-validator-node icon indicating copy to clipboard operation
charon-distributed-validator-node copied to clipboard

nethermind occupies too much virtual memory

Open CodeGp2018 opened this issue 1 year ago • 1 comments

🎯 Problem to be solved

nethermind occupies too much virtual memory, it needs optimization.

🧪 Tests

Hardware description: VPS: 6G16G image

  • [✔ ] Works in local docker-compose
  • [✔ ] Has a attested on a testnet at least once

👐 Additional acceptance criteria

CodeGp2018 avatar Feb 18 '24 11:02 CodeGp2018

It has nothing to do with distributed validator node configuration, instead it has to do with how nethermind accesses ledger and state, it relies on mmap, which maps files to virtual memory, thus creating a virtual memory bloat, which itself isn't a disaster, since it's loaded and unloaded on demand.

If you feel that nethermind doesn't fit your needs you can switch to other EL nodes, like geth, You can find a geth setup example in examples/ directory of the repo.

idkravitz avatar Feb 19 '24 14:02 idkravitz