getbalance not working

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?

bvpx

Posted 2014-08-30T16:51:43.967

Reputation: 1 052

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 2014-08-30T18:10:02.203

Answers

1

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

Pieter Wuille

Posted 2014-08-30T16:51:43.967

Reputation: 54 032

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.

George Kimionis

Posted 2014-08-30T16:51:43.967

Reputation: 2 824