BTCPrivate / BitcoinPrivate-legacy

Bitcoin Private is a Bitcoin and Zclassic fork which uses ZK-SNARK technology for privacy and fungibility.
Other
283 stars 132 forks source link

High memory usage #244

Open egyptianbman opened 4 years ago

egyptianbman commented 4 years ago

The BTCP daemon consistently consumes considerably more (approx 4x) than all other zcash nodes. I'm not sure where the memory leak is but btcp's daemon consumes around 4GB of memory where other nodes consume:

interbiznw commented 4 years ago

Does it keep increasing? Or just uses more overall?

interbiznw commented 4 years ago

also, are you sure it's not shielding during that time?

egyptianbman commented 4 years ago

From what I'm seeing, it may not be releasing memory after shielding. This is on a node that does shied but the memory remains high 24/7.

interbiznw commented 4 years ago

Only thing I can think of that would be different is btcp is not up to date with current zcash, and no sapling.. thus shielding taking more RAM, not sure on the not releasing part afterwards. Are all those other coins using sapling?

Also does it start out with lower RAM usage before it shields a transaction? Then goes up to 4+ GB and stays?