bitcore icon indicating copy to clipboard operation
bitcore copied to clipboard

MongoError: document is larger than the maximum size 16777216

Open rlaace423 opened this issue 2 years ago • 5 comments

bitcore-node version : 8.25.30

I'm using bitcore for collecting ethereum goerli network information. At specific block, it stucked and said, MongoError: document is larger than the maximum size 16777216.

How can I solve it? Is there a way to skip a specific block or a specific transaction?

that goerli block number seems 8575482 which contains 22 txs, 21686 internal txs.

image

rlaace423 avatar Mar 03 '23 04:03 rlaace423

For newer releases, is it solved?

rlaace423 avatar Mar 03 '23 04:03 rlaace423

For newer releases, is it solved?

Yes, this issues should be solved in the latest release. It doesn't have to do with the size of a particular block. What is happening is that when Bitcore has synced all the blocks from the network it does an update to all the records to make sure each block's nextBlock and previousBlock are present. It was missing proper indexes to do this so it was failing. It is fixed in the latest version.

escottalexander avatar Mar 20 '23 14:03 escottalexander