I first used "free" command in terminal and discovered that the swap has size zero. How stupid! Some modification may have disabled the system from automatically mounting swap partition. Then I swapon'ed using partition manager of ubuntu (qparted).
To completely solve this problem I googled "ubuntu auto swapon" and come into this website:
https://answers.launchpad.net/ubuntu/+question/34437.
Then I realized that it is the UUID problem. So I edited fstab according to the output of blkid.
Finally I rebooted. Now it's running OK again. :)