Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminating high memory usage #41

Open
smogm opened this issue Jun 6, 2019 · 2 comments
Open

Eliminating high memory usage #41

smogm opened this issue Jun 6, 2019 · 2 comments

Comments

@smogm
Copy link

smogm commented Jun 6, 2019

I noticed that the bitbayd is consuming high amounts of memory during its runtime. Compared to other coins with bitcoin core based daemons and similar or larger blockchain size, the memory consumption of bitbayd is unusually high.

As I'm running the bitbayd on my odroid c2 with 2 GB of memory, it would be nice to find out why the usage is that high.
I also played around with the dbcache and mempool sizes, but this didn't change anything.
I noticed that the daemon is using only one single blockfile blk0001.dat with currently around 1.2G of space. Maybe it is related to this? Is it possible to reduce the blockfile split size?

Reserved memory is around 1 GB at runtime,

@yshurik
Copy link

yshurik commented Jun 15, 2019

Yes I have seen such memory usage (a bit more 1GB) with bitbayd. My guesses were just about leveldb actively using ram for caching. Though I had no attempts to check yet. Is that comparable with other coins which have root from peercoin/blackcoin?

@dzimbeck
Copy link

dzimbeck commented Sep 4, 2019

I think it's common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants