I compiled bitcoind using the same steps as last year. In particular I set DB_CONFIG:

set_lg_dir database
set_lk_max_locks 537000

Unfortunately once I hit block 364,670 (2015-07-10) I'm treated with:

EXCEPTION: 11DbException
Db::put: Cannot allocate memory
bitcoin in ProcessMessage()

I tried raising set_lk_max_locks to 1000000 but that didn't help. This happens immediately when restarting the node, so it doensn't seem to be a RAM issue.

The ~/.bitcoin/database looks rather large, assuming this is the equivalent of todays ~/.bitcoin/chainstate and ``~/.bitcoin/blocks/index`.

$ du -s ~/.bitcoin
92047404 # 88 GB
$ du -s ~/.bitcoin/database
42169668 # 41 GB

How can I get the synchronization to continue?

  • 1
    Hey Sjors, I sense a possible implicit question such as "What can I do to make the sync continue?", but could you actually add a phrase what you exactly are looking for in an answer to your post? :) – Murch Nov 29 '18 at 16:41
  • I used the exact same wording as last year :-) Added "- what to do?" to the question. The goal is to get it unstuck. – Sjors Provoost Nov 30 '18 at 13:04

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.