欢迎所有爱好区块链技术的人加入。

ARCHIVES / 248.HTML

boost::interprocess::bad_alloc

Surou EOS-新手问答

由于解决 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