<p>The error you are getting has nothing to do with the RAM of your environment but with the disk space.</p>
<p>Unfortunately, there is no other way to make Nix work rather than setting up a partition with, at least, 40 GB of free space (to be safe).</p>
<p>This is a screenshot of my <code>/nix/store</code> directory, where Nix keeps all its necessary modules:</p>
<p><a href="https://i.sstatic.net/wHBlN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/wHBlN.png" alt="enter image description here" /></a></p>
<p>You can see it has over 1M files, totalling 33.3 GB.</p>

CC BY-SA 4.0
2022-05-25T02:15:19.790Z
2022-05-25T02:15:19.790Z
Falcon Stakepool
<p>Im participating in the Marlowe Pioneers program, I setup Nixos with IOHK Binary, then added to Marlowe repository, did cd marlowe-cardano. But when I ran Nix-shell I got an error that I had no space left on device. How much space do I need to run these? Setup is 8GB RAM, 16GB Memory. Are there ways i get better optimise to let Nix-shell work? Thanks for your help.</p>

CC BY-SA 4.0
2022-05-24T17:14:45.517Z
All Cardano development environments/tools are extremely space hungry and nix too. Don't bother setting up anything below 100 GB of free space, otherwise you will regret it later, even if it works in the beginning.
DaveStrider
<marlowe><marlowe-pioneer-program>
How to setup environment for Marlowe Pioneer Program? Error: creating directory '/tmp/nix-shell-1271-0': No space left on device
# How to setup environment for Marlowe Pioneer Program? Error: creating directory '/tmp/nix-shell-1271-0': No space left on device

(Asked by: username_0 on 2022-05-24)

Im participating in the Marlowe Pioneers program, I setup Nixos with IOHK Binary, then added to Marlowe repository, did cd marlowe-cardano. But when I ran Nix-shell I got an error that I had no space left on device. How much space do I need to run these? Setup is 8GB RAM, 16GB Memory. Are there ways i get better optimise to let Nix-shell work? Thanks for your help.

**Tags:** marlowe, marlowe-pioneer-program
> **Comments:**
> **username_1**: All Cardano development environments/tools are extremely space hungry and nix too. Don't bother setting up anything below 100 GB of free space, otherwise you will regret it later, even if it works in the beginning.  

---

## 1 answers

### Answer by username_2 on 2022-05-25. Score: 0

The error you are getting has nothing to do with the RAM of your environment but with the disk space.

Unfortunately, there is no other way to make Nix work rather than setting up a partition with, at least, 40 GB of free space (to be safe).

This is a screenshot of my `/nix/store` directory, where Nix keeps all its necessary modules:

[![enter image description here](https://i.sstatic.net/wHBlN.png)](https://i.sstatic.net/wHBlN.png)

You can see it has over 1M files, totalling 33.3 GB.


---

