go-spacemesh
go-spacemesh copied to clipboard
High memory usage
Description
go-spacemesh uses too much memory. On nodes with high number of peers (~1000) RSS may reach 10-12 GiB and even more, causing OOM on a Linux system with 16 GiB RAM.
Steps to reproduce
Run go-spacemesh on a Linux machine
Actual Behavior
go-spacemesh uses too much memory and OOMs at times.
Expected Behavior
go-spacemesh doesn't OOM on a normal Linux system with 16 GiB RAM
Environment
Please complete the following information:
- OS: Ubuntu 23.04
- Node Version: 1.5.3
Additional Resources
Heap profile result is attached