You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Issue
How memory-efficient is dnscontrol?
I'm interested in how much memory per record we are using.
# Resolution
Add memory stats when --full is output.
A large config:
```
Inaccurate statistics: {"memory_in_use":39930120,"memory_in_use_str":"40 MB","num_records":2806,"num_zones":176,"rc_size":520,"benchmark1":14230,"benchmark1str":"14 KiB bytes"}
```
A small config:
```
Inaccurate statistics: {"memory_in_use":24447240,"memory_in_use_str":"24 MB","num_records":146,"num_zones":20,"rc_size":520,"benchmark1":167446,"benchmark1str":"164 KiB bytes"}
```
RecordConfig is 520 bytes yet the overhead per record is 14K to 164K.
0 commit comments