<p>bitcoind uses a ton of memory while it's downloading the blockchain. Check out these steps on how to set up your swap space correctly on Ubuntu:</p>

<p><a href="https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04" rel="nofollow">https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04</a></p>

<p>Additionally, you can check out the torrent download of the blockchain. As long as you trust the file, this can help speed up the time to download the blockchain.</p>

<p><a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/bootstrap.dat.torrent/download" rel="nofollow">http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/bootstrap.dat.torrent/download</a></p>

CC BY-SA 3.0
2014-07-15T22:22:01.827Z
2014-07-15T22:22:01.827Z
Cody Moniz
<pre><code>EXCEPTION: 11DbException
Db::get: Cannot allocate memory
bitcoin in ProcessMessage()
</code></pre>

<p>Downloaded 250k blocks, now it won't run anymore i'm running ubuntu 12.04, I have 20GB HD and 1gb ram. any way to fix without redownloading?</p>

CC BY-SA 3.0
2014-03-18T18:57:16.247Z
You have 20GB ram free or just 20GB ram with the operating system on it plus all your other data?
Jori
CC BY-SA 3.0
2014-03-19T12:13:11.047Z
Oops mistyped that, I meant hard-drive of course.
Jori
<blockchain><bitcoind><bitcoin-core><ubuntu>
Cannot allocate memory
user3162803
# Cannot allocate memory

(Asked by: username_0 on 2014-03-18)

```
EXCEPTION: 11DbException
Db::get: Cannot allocate memory
bitcoin in ProcessMessage()

```

Downloaded 250k blocks, now it won't run anymore i'm running ubuntu 12.04, I have 20GB HD and 1gb ram. any way to fix without redownloading?

**Tags:** blockchain, bitcoind, bitcoin-core, ubuntu

> **Comments:**
> **username_1**: You have 20GB ram free or just 20GB ram with the operating system on it plus all your other data?  
> **username_1**: Oops mistyped that, I meant hard-drive of course.  

---

## 1 answers

### Answer by username_2 on 2014-07-15. Score: 1

bitcoind uses a ton of memory while it's downloading the blockchain. Check out these steps on how to set up your swap space correctly on Ubuntu:

<https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04>

Additionally, you can check out the torrent download of the blockchain. As long as you trust the file, this can help speed up the time to download the blockchain.

<http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/bootstrap.dat.torrent/download>


---

