ChainSafe / ChainSafe/lodestar
Investigate resident set vs heap total memory difference
Open
meta-investigate
prio-medium
scope-memory
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 483
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 150
Description
Lodestar nodes show a significant difference between the process resident set or total process memory and the total heap size. As far as I'm concerned, there's no other large memory item that could justify a 500MB difference

This issue is to track research into what could cause this difference:
- [x] Worker threads: I've disabled all workers (second part of the chart above) and while the total process size is slightly lower the difference is roughly the same
- [ ] ??
Contributor guide
Assessment
This issue has not been assessed yet.