Use a File as SWAP Space {{{ # Create a 10M File dd if=/dev/urandom of=./xxx bs=1M count=10 # Make a swap on this file /sbin/mkswap ./xxx # use this swap sudo swapon xxx # show swap cat /proc/swaps }}}