While syncing headers with bitcoin-qt my device runs out of memory. I have a computer with only 1GB of RAM and no swap; while syncing headers it runs out of memory. Approximately, 600,000 headers is where it runs out.
I expected to be able to sync all the headers and then start downloading/verifying the blockchain.
While syncing the headers my device runs out of memory.
I can reproduce this issue every time. Simply, start the bitcoin-qt application and wait until it runs out of memory at approximately 600,000 headers.
debian package 22.0-1
Orange Pi One http://www.orangepi.org/orangepione/ CPU: H3 Quad-core Cortex-A7 H.265/HEVC 4K Drive: 256GB microSD
This issue is probably caused because all the headers are stored in RAM.
Eventually this will become a problem with common lower end computers even if they have swap when the index becomes too large.
It is an important issue to consider so that cheap nodes can be run in third world countries to ensure good decentralization of the network.