Originally created by Tails on #5740 (Redmine)
It might be useful to use
zram in Tails. Zram has been in the staging
tree since Linux 2.6.33, and was marked stable in Linux 3.14.
Also note that zswap (https://lwn.net/Articles/537422/) is part of mainline Linux since 3.11.