getbalance not working 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?
It probably means your bitcoind has not enough memory to complete the request.