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?
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI 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?
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.