boost::interprocess::bad_alloc

由于解决 cleos get transaction 返回空的信息
此问题,导致运行 nodeos 提示以下错误

terminate called after throwing an instance of 'boost::interprocess::bad_alloc'
  what():  boost::interprocess::bad_alloc

解决方案:修改 config.ini 中 chain-state-db-size-mb调大些,默认1024,一般改为2048即可,当然服务器内存较大可以再多分些。
参考:github issues

版权属于:Surou

本文链接:https://www.bcskill.com/index.php/archives/248.html

相关技术文章仅限于相关区块链底层技术研究,禁止用于非法用途,后果自负!本站严格遵守一切相关法律政策!

评论