A: 4GBに swapoff /swapfile rm -f /swapfile dd if=/dev/zero of=/swapfile bs=2M count=2048 chmod 600 /swapfile mkswap /swapfile swapon /swapfile