Skip to main content
21 votes
Accepted

How to run bitcoind in a low memory environment

The largest consumers of memory are: The memory pool (reduce with -maxmempool, or disable entirely with -blocksonly if you don't care about unconfirmed transactions). The UTXO cache (reduce with -...
Pieter Wuille's user avatar
5 votes

How to run bitcoind in a low memory environment

Followed your parameter: bitcoind -blocksonly=1 -dbcache=50 -maxorphantx=10 -maxmempool=100 & Now I have only 286M memory used with bitcoind running.
Makarthur's user avatar
4 votes
Accepted

How much memory (RAM) is used by the mempool and UTXO pool?

In Bitcoin Core, there are two settings, -dbcache and -maxmempool, defaulting to 450 and 300, respectively. The mempool can only occupy as much as is configured through -maxmempool. The UTXO set ...
Pieter Wuille's user avatar
4 votes
Accepted

What does the RPC call "getmemoryinfo" show?

It is reporting the memory statistics of the locked memory pool, not all memory used in general. The locked pool is used to store private keys and other security-sensitive material. Bitcoin Core ...
Pieter Wuille's user avatar
4 votes

Is the entire blockchain kept in memory?

The original Bitcoin code base definitely didn't support this. Currently it's possible to effectively keep the entire UTXO set in memory in Bitcoin Core if you set the database cache large enough (...
Pieter Wuille's user avatar
3 votes
Accepted

What are the maximum useful memory limits for a Bitcoind full node?

After a point, there's no reason to increase memory usage further. dbcache is useful up until the point where you have the entire UTXO in memory (4GB+ in 2021), and then increasing it further does ...
Claris's user avatar
  • 15.5k
3 votes

Are the block headers kept in memory?

I think you are confusing what it means to store things "in memory". As you say, indeed, the block index DB and the chainstate DB are both levelDB databases stored on disk. However, while ...
meshcollider's user avatar
  • 11.9k
3 votes

what is the size of information contained in one bitcoin?

I want to store one bitcoin in my pendrive and how much free space do I need to store that information? TL;DR: 32 bytes. Bitcoins are not pieces of data, Bitcoin is a unit of measure. To store any ...
RedGrittyBrick's user avatar
2 votes

how do you get your computer not to run out of memory with the system syncing

You can configure Bitcoin Core to run with --dbcache=50 which will limit the database cache size to 50MB (default is 100MB). You can read more about it here. Alternatively, you probably don't need ...
Jestin's user avatar
  • 8,822
2 votes
Accepted

Bitcoin Miner Storage Issue

I'm guessing that the uninstall didn't remove your wallet or block files. Delete the folder C:\Users\YourUserName\Appdata\Roaming\Bitcoin to delete both of those.
Nick ODell's user avatar
  • 29.5k
2 votes
Accepted

Why is data stored in reverse in the blockchain files?

See little-endian and big-endian. The choice made by Bitcoin authors for data transmitted over the network is somewhat arbitrary. I think the reference implementation (Bitcoin core) chooses to store ...
RedGrittyBrick's user avatar
1 vote

How to replicated the 256 MiB memory "Bare Minimum" setup of `bitcoind` from bitcoin.org

256 MiB seems extremely low; I very much doubt that will work. Still, Bitcoin Core has documentation on how to run in low-memory environments: https://github.com/bitcoin/bitcoin/blob/master/doc/reduce-...
Pieter Wuille's user avatar
1 vote

Will Upgrading Ram on Low End PC Make Core Sync faster?

The initial 15% synced in a few days but now the process is fluctuating wildly around 2-7 weeks. Suffice to say it is very slow. This happens because the very first blocks were pretty munch empty, so ...
Davidson Souza's user avatar
1 vote

How to reduce Bitcoin loaded wallet memory?

There is no way to reduce the amount of memory used by a loaded wallet other than modifying the code itself. There are no configuration options for this. You really should not be trying to run so many ...
Ava Chow's user avatar
  • 71.5k
1 vote

How to reduce Bitcoin loaded wallet memory?

There is different way to optimize, configure or reduce the memory usage of bitcoind, I invite you to see this page from the bitcoind github who talk about it: https://github.com/bitcoin/bitcoin/blob/...
Saxtheowl's user avatar
  • 2,810
1 vote

how do you get your computer not to run out of memory with the system syncing

It sounds like you've got money in a wallet already? Perhaps a better option is to get a lightweight wallet client and then get the wallets managed in that. That way you can avoid having to sync the ...
carl crott's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible