Skip to main content
This documentation is for Passwork version 6.0, no longer supported.

See documentation for version 7.0.
Version: 6.0

Creating SWAP File on Linux

If you are installing Passwork on Linux and building libraries from source, we recommend enabling a swap file. The build process can use up to 4 GB of RAM: lack of free memory will cause an error.

Enabling the swap file:

/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=5120
chmod 600 /var/swap.1
/sbin/mkswap /var/swap.1
/sbin/swapon /var/swap.1

Disabling the swap file:

/sbin/swapoff /var/swap.1
rm -rf /var/swap.1