Message-ID: <1438470808.3658.1485854685456.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3657_660744479.1485854685456" ------=_Part_3657_660744479.1485854685456 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Swap space allows your system to utilize the hard drive to supplement ca= pacity when RAM runs short. Composer install will fail if there is insuffic= ient RAM available, but adding swap will allow it to complete installation.=
Via the command line, you can set up and enable swap on your Debian mach= ine via the following commands (as root):
fallocate -l 4G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile echo "/swapfile none swap sw 0 0" >> /etc/fstab sysctl vm.swappiness=3D10 echo "vm.swappiness=3D10" >> /etc/sysctl.conf sysctl vm.vfs_cache_pressure=3D50 echo "vm.vfs_cache_pressure=3D50" >> /etc/sysctl.conf=20
You should see the changes effected immediately, and can check via the c= ommand line:
# You should see swap in use now: free -m # Swappiness should now be 10 cat /proc/sys/vm/swappiness # Cache pressure should be set to 50 cat /proc/sys/vm/vfs_cache_pressure=20