<p>It probably means your bitcoind has not enough memory to complete the request.</p>

CC BY-SA 3.0
2014-08-30T19:25:11.240Z
2014-08-30T19:25:11.240Z
Pieter Wuille
<p>I am getting this error when I type <code>getbalance</code>:</p>

<pre><code>error: {"code":-1,"message":"std::bad_alloc"}
</code></pre>

<p>Basically, I type <code>getbalance</code> and wait for about 2 minutes and this error appears finally.</p>

<p>What does it mean? </p>

CC BY-SA 3.0
2014-08-30T18:10:02.203Z
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
<bitcoind><json-rpc>
getbalance not working
bvpx
# getbalance not working

(Asked by: username_0 on 2014-08-30)

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?

**Tags:** bitcoind, json-rpc

> **Comments:**
> **username_1**: 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.  

---

## 1 answers

### Answer by username_2 on 2014-08-30. Score: 1

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


---

