0

I am getting this error when I type getbalance:

error: {"code":-1,"message":"std::bad_alloc"}

Basically, I type getbalance and wait for about 2 minutes and this error appears finally.

What does it mean?

  • Something strange about your setup is causing bitcoind to fail. Maybe your wallet is too large, maybe something is wrong with your computer, maybe something else. – theymos Aug 30 '14 at 18:10
1

It probably means your bitcoind has not enough memory to complete the request.

0

According to the rpcprotocol.h the error you received is:

RPC_MISC_ERROR = -1, // std::exception thrown in command handling

In C++, std::bad_alloc is the type of object thrown as an exception by the storage allocation functions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.