<p>You will not be able to build this in less than 8G of RAM. Adding swap to make the total memory at least 8G may help.</p>

CC BY-SA 4.0
2022-01-12T07:22:22.780Z
2022-01-12T07:22:22.780Z
Erik de Castro Lopo
<p>This is a follow up to my previous cabal build problem. I ran cabal update. Then cabal build was killed. I tried increasing Docker memory from 2GB to 3GB. My old Mac has 8GB, Activity Monitor peaked at 6.7GB</p>
<p>Completed ouroboros-network-framework-0.1.0.0 (lib)
cabal: Failed to build cardano-crypto-class-2.0.0 (which is required by
exe:plutus-starter-pab from plutus-starter-0.1.0.0 and
test:plutus-example-projects-test from plutus-starter-0.1.0.0). The build
process was killed (i.e. SIGKILL). The typical reason for this is that there
is not enough memory available (e.g. the OS killed a process using lots of
memory).
Failed to build iohk-monitoring-0.2.0.0 (which is required by
exe:plutus-starter-pab from plutus-starter-0.1.0.0 and
test:plutus-example-projects-test from plutus-starter-0.1.0.0). The build
process was killed (i.e. SIGKILL). The typical reason for this is that there
is not enough memory available (e.g. the OS killed a process using lots of
memory).</p>

<cabal><vscode><docker><macos>
cabal build Out of Memory Mac VS Code Docker
# cabal build Out of Memory Mac VS Code Docker

(Asked by: username_0 on 2022-01-12)

This is a follow up to my previous cabal build problem. I ran cabal update. Then cabal build was killed. I tried increasing Docker memory from 2GB to 3GB. My old Mac has 8GB, Activity Monitor peaked at 6.7GB

Completed ouroboros-network-framework-0.1.0.0 (lib)
cabal: Failed to build cardano-crypto-class-2.0.0 (which is required by
exe:plutus-starter-pab from plutus-starter-0.1.0.0 and
test:plutus-example-projects-test from plutus-starter-0.1.0.0). The build
process was killed (i.e. SIGKILL). The typical reason for this is that there
is not enough memory available (e.g. the OS killed a process using lots of
memory).
Failed to build iohk-monitoring-0.2.0.0 (which is required by
exe:plutus-starter-pab from plutus-starter-0.1.0.0 and
test:plutus-example-projects-test from plutus-starter-0.1.0.0). The build
process was killed (i.e. SIGKILL). The typical reason for this is that there
is not enough memory available (e.g. the OS killed a process using lots of
memory).

**Tags:** cabal, vscode, docker, macos

---

## 1 answers

### Answer by username_1 on 2022-01-12. Score: 2

You will not be able to build this in less than 8G of RAM. Adding swap to make the total memory at least 8G may help.


---

