3cb31e66b4
* set upper bound on EpochRef cache * max 32 EpochRef instances * less memory waste in BlockRef by removing EpochRef seq that is mostly unused (~20mb) * less memory waste in dag block lookup by not keeping an extra copy of digest (~70mb) * fix `==` and `$` for Eth2Digest * remove `ChainDAG.tmpState` (~50mb?) all in all, this branch cuts mainnet memory usage by ~160-180mb and puts limits on EpochRef cache usage - where normally it hovered around 950mb before, it's now sitting at 600-700mb on my machine. * docs |
||
---|---|---|
.. | ||
beacon_api.nim | ||
config_api.nim | ||
debug_api.nim | ||
eth2_json_rpc_serialization.nim | ||
event_api.nim | ||
nimbus_api.nim | ||
node_api.nim | ||
rpc_utils.nim | ||
validator_api.nim |