Swap: Difference between revisions
Phanirithvij (talk | contribs) warning for example |
Phanirithvij (talk | contribs) m minor edit |
||
| Line 76: | Line 76: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# Read the WARNING above | # Read the WARNING above, or adjust 2, 20GB according to your free space | ||
$ # nix shell nixpkgs#stress.out -c stress --vm | $ # nix shell nixpkgs#stress.out -c stress --vm 2 --vm-bytes 20G | ||
$ swapon | $ swapon | ||
NAME TYPE SIZE USED PRIO | NAME TYPE SIZE USED PRIO | ||