utreexo icon indicating copy to clipboard operation
utreexo copied to clipboard

Find out what's using up all the memory with ramForest

Open kcalvinalvin opened this issue 4 years ago • 0 comments

Yeah if it isn't buggy and the performance is good we can default to cow.

I also wonder why in ram takes so much ram. It shouldn't need more than 8GB, and it's straightforward enough that I'm not sure where the extra ram is going.

2^27 = 134M (there are just over 70M utxos) and 32 bytes * 2^27 * 2 = 2^33, or 8GB.

I guess you need a bit more ram for other stuff, but 16GB should be fine, which is a normal-ish amount for good computers these days.

Originally posted by @adiabat in https://github.com/mit-dci/utreexo/discussions/238#discussioncomment-235621

kcalvinalvin avatar Dec 23 '20 10:12 kcalvinalvin