Adding Swap Space

mkswap /dev/hdb2
swapon /dev/hdb2
then modify /etc/fstab

To check:
cat /proc/swaps or free or swapon -s